Difference between revisions of "0189"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} {{Icon|VC}} '''ADD_BLIP_FOR_CONTACT_POINT''' <hr /> '''Description''' : Adds a blip to the contact point '''Syntax''' : 0189: [''var''] = create_checkpoint_and_...")
 
Line 6: Line 6:
 
: 0189: [''var''] = create_checkpoint_and_sphere_at [''flt1''] [''flt2''] [''flt3'']
 
: 0189: [''var''] = create_checkpoint_and_sphere_at [''flt1''] [''flt2''] [''flt3'']
 
'''Parameter'''
 
'''Parameter'''
: [''var'']
 
:: Variable to store the handle of the blip
 
 
: [''flt1'']
 
: [''flt1'']
 
:: X-coordinate
 
:: X-coordinate
Line 14: Line 12:
 
: [''flt3'']
 
: [''flt3'']
 
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
 
:: Z-coordinate (or ''-100.0'' for [[02CE|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 [[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:

Revision as of 00:16, 20 November 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)

Both the blip and marker can be removed using opcode 0164. This opcode was never called in the original script of GTA III.

Keywords

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