Difference between revisions of "0189"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
{{Icon|3}} {{Icon|VC}} '''ADD_BLIP_FOR_CONTACT_POINT'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}} {{Icon|VC}}
'''Description'''
+
| command    = ADD_BLIP_FOR_CONTACT_POINT
: Adds a [[blip]] to the contact point
+
| description = Adds a [[blip]] to the contact point
'''Syntax'''
+
| syntax1    = 0189: [''var''] = create_checkpoint_and_sphere_at [''flt1''] [''flt2''] [''flt3'']
: 0189: [''var''] = create_checkpoint_and_sphere_at [''flt1''] [''flt2''] [''flt3'']
+
| p1t        = [''flt1'']
'''Parameter'''
+
| p1d        = X-coordinate
: [''flt1'']
+
| p2t        = [''flt2'']
:: X-coordinate
+
| p2d        = Y-coordinate
: [''flt2'']
+
| p3t        = [''flt3'']
:: Y-coordinate
+
| p3d        = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]])
: [''flt3'']
+
| p4t        = [''var'']
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
+
| p4d        = Variable to store the handle of the blip
: [''var'']
+
}}
:: Variable to store the handle of the blip
 
  
 
This opcode adds a square blip in the radar to the contact point and a marker at the point. The blip and marker disappear during [[0180|missions]] and reappear when the mission ends. The default properties of the blip, which can be changed using other opcodes, are:
 
This opcode adds a square blip in the radar to the contact point and a marker at the point. The blip and marker disappear during [[0180|missions]] and reappear when the mission ends. The default properties of the blip, which can be changed using other opcodes, are:
Line 19: Line 18:
 
* [[0168|Scale]]: 3
 
* [[0168|Scale]]: 3
 
* [[018B|Display]]: 3 (both blip and marker)
 
* [[018B|Display]]: 3 (both blip and marker)
Both the blip and marker can be removed using opcode [[0164]]. This opcode was never called in the [[Main.scm|original script]] of GTA III.
+
This opcode was never called in the [[Main.scm|original script]] of GTA III.
  
 
== Keywords ==
 
== Keywords ==
 
create, set, marker, blip, checkpoint, coord, coordinates, contact, point
 
create, set, marker, blip, checkpoint, coord, coordinates, contact, point
 
[[Category:OpCodes]]
 

Latest revision as of 16:00, 2 December 2016

GTA III Vice City ADD_BLIP_FOR_CONTACT_POINT


Description
Adds a blip to the contact point
Syntax
0189: [var] = create_checkpoint_and_sphere_at [flt1] [flt2] [flt3]
Parameter
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z)
[var]
Variable to store the handle of the blip

This opcode adds a square blip in the radar to the contact point and a marker at the point. The blip and marker disappear during missions and reappear when the mission ends. The default properties of the blip, which can be changed using other opcodes, are:

  • Color: 2 (blue) in GTA III and 5 (purple) in Vice City
  • Scale: 3
  • Display: 3 (both blip and marker)

This opcode was never called in the original script of GTA III.

Keywords

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