Difference between revisions of "0162"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} {{Icon|VC}} '''ADD_BLIP_FOR_CHAR_OLD''' <hr /> '''Description''' : Adds a blip with properties to the character '''Syntax''' : 0162: [''var''] = create_marker_a...")
 
 
Line 6: Line 6:
 
: 0162: [''var''] = create_marker_above_actor [''char handle''] color [''int1''] visibility [''int2'']
 
: 0162: [''var''] = create_marker_above_actor [''char handle''] color [''int1''] visibility [''int2'']
 
'''Parameter'''
 
'''Parameter'''
: [''var'']
 
:: Variable to store the handle of the blip
 
 
: [''char handle'']
 
: [''char handle'']
 
:: The handle of the character
 
:: The handle of the character
Line 14: Line 12:
 
: [''int2'']
 
: [''int2'']
 
:: The [[018B|display of the blip]]
 
:: The [[018B|display of the blip]]
 +
: [''var'']
 +
:: Variable to store the handle of the blip
  
 
This opcode adds a square blip in the radar denoting the location of the character. It is almost equivalent to opcode [[0187]] but without preset properties. The default [[0168|scale of the blip]] is 1. In Vice City, the color of the blip is always set to 4 (yellow) regardless of what color you set so the color parameter is useless.
 
This opcode adds a square blip in the radar denoting the location of the character. It is almost equivalent to opcode [[0187]] but without preset properties. The default [[0168|scale of the blip]] is 1. In Vice City, the color of the blip is always set to 4 (yellow) regardless of what color you set so the color parameter is useless.

Latest revision as of 00:11, 20 November 2016

GTA III Vice City ADD_BLIP_FOR_CHAR_OLD


Description

Adds a blip with properties to the character

Syntax

0162: [var] = create_marker_above_actor [char handle] color [int1] visibility [int2]

Parameter

[char handle]
The handle of the character
[int1]
The color of the blip
[int2]
The display of the blip
[var]
Variable to store the handle of the blip

This opcode adds a square blip in the radar denoting the location of the character. It is almost equivalent to opcode 0187 but without preset properties. The default scale of the blip is 1. In Vice City, the color of the blip is always set to 4 (yellow) regardless of what color you set so the color parameter is useless.

Keywords

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