Difference between revisions of "018A"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''ADD_BLIP_FOR_COORD'''
| ini        = 018A=4,%4d% =  %1d% %2d% %3d%
+
<hr />
| description = Creates a yellow blip on the map at the chosen coordinates
+
'''Description'''
| p1          = Blip handle
+
: Adds a [[blip]] to the coordinates point
| p2          = X coordinate
+
'''Syntax'''
| p3          = Y coordinate
+
: 018A: [''var''] = create_checkpoint_at [''flt1''] [''flt2''] [''flt3'']
| p4          = Z coordinate
+
'''Parameter'''
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
: [''var'']
}}
+
:: Variable to store the handle of the blip
 +
: [''flt1'']
 +
:: X-coordinate
 +
: [''flt2'']
 +
:: Y-coordinate
 +
: [''flt3'']
 +
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
  
This opcode creates a yellow blip on the map at the chosen coordinates which can be disabled using opcode [[0164]].
+
This opcode adds a square blip in the radar to the coordinates point. A marker cannot be displayed for this blip. The default properties of the blip, which can be changed using other opcodes, are:
 +
* [[0165|Color]]: 5 (purple)
 +
* [[0168|Scale]]: 3
 +
* [[018B|Display]]: 3 (only blip though, marker cannot be displayed)
 +
The blip can be removed using opcode [[0164]].
  
==Sanny Builder Example==
+
== Keywords ==
 +
create, set, marker, blip, checkpoint, coord, coordinates
  
<source lang="scm">018A: 1@ = create_checkpoint_at 14@ 15@ 16@ </source>
+
[[Category:OpCodes]]
 
 
==Keywords==
 
radar, blip, checkpoint, create
 

Revision as of 16:18, 2 September 2015

GTA III Vice City San Andreas ADD_BLIP_FOR_COORD


Description

Adds a blip to the coordinates point

Syntax

018A: [var] = create_checkpoint_at [flt1] [flt2] [flt3]

Parameter

[var]
Variable to store the handle of the blip
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or -100.0 for ground z)

This opcode adds a square blip in the radar to the coordinates point. A marker cannot be displayed for this blip. The default properties of the blip, which can be changed using other opcodes, are:

The blip can be removed using opcode 0164.

Keywords

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