Difference between revisions of "0188"
Jump to navigation
Jump to search
(Created page with 'thumb|0188 in action in Vice City {{OpCode | ini = 0188=2,{{Hint|%2d%|parameter 2: blip handle}} {{Hint|%1d%|parameter 1: object handle}} | description …') |
(page updates) |
||
Line 1: | Line 1: | ||
[[File:0188.jpg|thumb|0188 in action in Vice City]] | [[File:0188.jpg|thumb|0188 in action in Vice City]] | ||
− | {{ | + | {{Icon|trilogy}} '''ADD_BLIP_FOR_OBJECT''' |
− | | | + | <hr /> |
− | + | '''Description''' | |
− | + | : Adds a [[blip]] and a marker to the object | |
− | + | '''Syntax''' | |
− | + | : 0188: [''var''] = create_marker_above_object [''object handle''] | |
− | + | '''Parameter''' | |
− | + | : [''var''] | |
− | + | :: Variable to store the handle of the blip | |
+ | : [''object handle''] | ||
+ | :: The handle of the object | ||
− | + | This opcode adds a square blip in the radar denoting the location of the object and a marker above the object. In GTA III the arrow is blue, in Vice City it is pink, and in San Andreas it is red. The opcode is almost equivalent to [[0163]] but the properties of the blip are preset. The default properties of the blip, which can be changed using other opcodes, are: | |
− | + | * [[0165|Color]]: 6 (cyan) in GTA III and 4 (yellow) in Vice City | |
− | + | * [[0168|Scale]]: 3 | |
− | + | * [[018B|Display]]: 3 (both blip and marker) | |
+ | Both the blip and marker can be removed using opcode [[0164]]. | ||
− | + | == Keywords == | |
− | |||
− | |||
− | ==Keywords== | ||
create, set, marker, blip, arrow, object | create, set, marker, blip, arrow, object | ||
− | + | [[Category:OpCodes]] | |
− | |||
− |
Revision as of 22:05, 31 August 2015
Description
- Adds a blip and a marker to the object
Syntax
- 0188: [var] = create_marker_above_object [object handle]
Parameter
- [var]
- Variable to store the handle of the blip
- [object handle]
- The handle of the object
This opcode adds a square blip in the radar denoting the location of the object and a marker above the object. In GTA III the arrow is blue, in Vice City it is pink, and in San Andreas it is red. The opcode is almost equivalent to 0163 but the properties of the blip are preset. The default properties of the blip, which can be changed using other opcodes, are:
Both the blip and marker can be removed using opcode 0164.
Keywords
create, set, marker, blip, arrow, object