Difference between revisions of "0167"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 4: Line 4:
 
| description = Adds a [[blip]] with properties to the coordinates point
 
| description = Adds a [[blip]] with properties to the coordinates point
 
| syntax1    = 0167: [''var''] = create_marker_at [''flt1''] [''flt2''] [''flt3''] color [''int1''] display [''int2'']
 
| syntax1    = 0167: [''var''] = create_marker_at [''flt1''] [''flt2''] [''flt3''] color [''int1''] display [''int2'']
| p1t        = [''var'']
+
| p1t        = [''flt1'']
| p1d         = Variable to store the handle of the blip
+
| p1d        = X-coordinate
| p2t        = [''flt1'']
+
| p2t         = [''flt2'']
| p2d         = X-coordinate
+
| p2d         = Y-coordinate
| p3t         = [''flt2'']
+
| p3t         = [''flt3'']
| p3d         = Y-coordinate
+
| p3d         = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]])
| p4t         = [''flt3'']
+
| p4t         = [''int1'']
| p4d         = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]])
+
| p4d         = The [[0165|color of the blip]]
| p5t         = [''int1'']
+
| p5t         = [''int2'']
| p5d         = The [[0165|color of the blip]]
+
| p5d         = The [[018B|display of the blip]]
| p6t         = [''int2'']
+
| p6t        = [''var'']
| p6d         = The [[018B|display of the blip]]
+
| p6d        = Variable to store the handle of the blip
 
}}
 
}}
  

Latest revision as of 00:01, 20 November 2016

GTA III Vice City San Andreas ADD_BLIP_FOR_COORD_OLD


Description
Adds a blip with properties to the coordinates point
Syntax
0167: [var] = create_marker_at [flt1] [flt2] [flt3] color [int1] display [int2]
Parameter
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z)
[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 to the coordinates point. It is almost equivalent to opcode 018A but without preset properties and, likewise, a marker cannot be displayed for this blip. The default scale of the blip is 1. In Vice City, the color of the blip is always set to 5 (purple) regardless of what color you set so the color parameter is useless.

Keywords

create, set, marker, blip, checkpoint, coord, coordinates