Difference between revisions of "0186"
Jump to navigation
Jump to search
m |
(page updates) |
||
Line 1: | Line 1: | ||
[[File:0186.jpg|thumb|0186 in action in Vice City]] | [[File:0186.jpg|thumb|0186 in action in Vice City]] | ||
− | {{ | + | {{Icon|trilogy}} '''ADD_BLIP_FOR_CAR''' |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Adds a radar blip and an arrow to the vehicle | |
− | + | '''Syntax''' | |
− | + | : 0186: [''var''] = create_marker_above_car [''car handle''] | |
− | + | : [''var''] = Marker.CreateAboveCar( [''car handle''] ) | |
− | + | '''Parameter''' | |
− | + | : [''var''] | |
+ | :: Variable to store the handle of the blip | ||
+ | : [''car handle''] | ||
+ | :: The handle of the vehicle | ||
− | + | This opcode creates a square blip in the radar denoting the location of the vehicle and an arrow above the vehicle. In GTA III the arrow is blue, in Vice City it is pink, and in San Andreas it is red. The default size of the blip (usually set by opcode [[0168]]) is 3. The blip and arrow can be removed using opcode [[0164]]. | |
− | |||
− | |||
− | The | ||
− | + | == Keywords == | |
− | + | create, set, marker, blip, arrow, car, vehicle | |
− | == | + | == See also == |
− | + | *[[0187]], for characters | |
+ | *[[0188]], for objects | ||
+ | *[[0189]], for contact point | ||
+ | *[[018A]], for coord | ||
− | + | [[Category:OpCodes]] | |
− | |||
− |
Revision as of 23:03, 5 January 2015
Description
- Adds a radar blip and an arrow to the vehicle
Syntax
- 0186: [var] = create_marker_above_car [car handle]
- [var] = Marker.CreateAboveCar( [car handle] )
Parameter
- [var]
- Variable to store the handle of the blip
- [car handle]
- The handle of the vehicle
This opcode creates a square blip in the radar denoting the location of the vehicle and an arrow above the vehicle. In GTA III the arrow is blue, in Vice City it is pink, and in San Andreas it is red. The default size of the blip (usually set by opcode 0168) is 3. The blip and arrow can be removed using opcode 0164.
Keywords
create, set, marker, blip, arrow, car, vehicle