Difference between revisions of "0187"

From GTAMods Wiki
Jump to navigation Jump to search
(created page)
 
m
Line 7: Line 7:
 
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
}}
 
}}
This opcode creates a square blip denoting the location of the character and an arrow above the character. In GTA III the arrow would be blue, in Vice City it would be pink, and in San Andreas it would be red. The default size of the blip (usually set by opcode [[0168]]) is 3. Note that the parameters are swapped.
+
This opcode creates a square blip denoting the location of the character and an arrow above the character. In GTA III the arrow would be blue, in Vice City it would be pink, and in San Andreas it would be red. The default size of the blip (usually set by opcode [[0168]]) is 3. The blip and arrow can be removed using opcode [[0164]]. Note that the parameters are swapped.
 
[[Sanny Builder]] example:<source lang="scm">0187: 1@ = create_marker_above_actor 0@</source>
 
[[Sanny Builder]] example:<source lang="scm">0187: 1@ = create_marker_above_actor 0@</source>
  

Revision as of 17:19, 26 September 2010

0187 in action in Vice City

{{{games}}}


Description
Creates a blip and an arrow on the character
Syntax
{{{syntax1}}}
Parameter

This opcode creates a square blip denoting the location of the character and an arrow above the character. In GTA III the arrow would be blue, in Vice City it would be pink, and in San Andreas it would be red. The default size of the blip (usually set by opcode 0168) is 3. The blip and arrow can be removed using opcode 0164. Note that the parameters are swapped.

Sanny Builder example:

0187: 1@ = create_marker_above_actor 0@

Notes

The above format is more commonly used. The actual format of this opcode is in order:
0187=2,%1d% %2d%
The format to use depends on which INI file you use.

In Sanny Builder, this opcode is equivalent to the command Marker.CreateAboveActor.

Example:

Marker.CreateAboveActor(1@, 0@)

Keywords

create, set, marker, blip, arrow, actor, ped, character

See also