Difference between revisions of "0188"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
 
Line 7: Line 7:
 
: 0188: [''var''] = create_marker_above_object [''object handle'']
 
: 0188: [''var''] = create_marker_above_object [''object handle'']
 
'''Parameter'''
 
'''Parameter'''
 +
: [''object handle'']
 +
:: The handle of the object
 
: [''var'']
 
: [''var'']
 
:: Variable to store the handle of the blip
 
:: 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:
 
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:

Latest revision as of 00:16, 20 November 2016

0188 in action in Vice City

GTA III Vice City San Andreas ADD_BLIP_FOR_OBJECT


Description

Adds a blip and a marker to the object

Syntax

0188: [var] = create_marker_above_object [object handle]

Parameter

[object handle]
The handle of the object
[var]
Variable to store the handle of the blip

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:

  • Color: 6 (cyan) in GTA III and 4 (yellow) in Vice City
  • Scale: 3
  • Display: 3 (both blip and marker)

Both the blip and marker can be removed using opcode 0164.

Keywords

create, set, marker, blip, arrow, object