Difference between revisions of "0187"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
Line 5: Line 5:
 
: Adds a radar [[blip]] and an arrow to the character
 
: Adds a radar [[blip]] and an arrow to the character
 
'''Syntax'''
 
'''Syntax'''
: 0187: [''var''] = create_marker_above_actor [''car handle'']
+
: 0187: [''var''] = create_marker_above_actor [''char handle'']
 
: Marker.CreateAboveActor( [''var''], [''char handle''] )
 
: Marker.CreateAboveActor( [''var''], [''char handle''] )
 
'''Parameter'''
 
'''Parameter'''

Revision as of 22:06, 2 June 2015

0187 in action in Vice City

GTA III Vice City San Andreas ADD_BLIP_FOR_CHAR


Description

Adds a radar blip and an arrow to the character

Syntax

0187: [var] = create_marker_above_actor [char handle]
Marker.CreateAboveActor( [var], [char handle] )

Parameter

[var]
Variable to store the handle of the blip
[char handle]
The handle of the character

This opcode creates a square blip in the radar denoting the location of the character and an arrow above the character. 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, actor, ped, character