Difference between revisions of "02CF"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|t}} | command = START_SCRIPT_FIRE | description = Creates a fire on the coordinates point | syntax1 = 02CF: [''var''] = create_fire_at...")
 
 
Line 4: Line 4:
 
| description = Creates a fire on the coordinates point
 
| description = Creates a fire on the coordinates point
 
| syntax1    = 02CF: [''var''] = create_fire_at [''flt1''] [''flt2''] [''flt3'']
 
| syntax1    = 02CF: [''var''] = create_fire_at [''flt1''] [''flt2''] [''flt3'']
| p1t        = [''var'']
+
| p1t        = [''flt1'']
| p1d         = Variable to store the handle of the fire
+
| 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        = [''var'']
| p4d         = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]])
+
| p4d        = Variable to store the handle of the fire
 
}}
 
}}
  

Latest revision as of 00:26, 20 November 2016

GTA III Vice City San Andreas START_SCRIPT_FIRE


Description
Creates a fire on the coordinates point
Syntax
02CF: [var] = create_fire_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 fire

This opcode creates a perpetual fire at the coordinates point. The fire emits particles, light, and sound, and can harm only the player. If ground z is used, the fire is placed by the center rather than the base of the particle so the fire appears a bit submerged into the ground. The fire can be extinguished with the Firetruck's hose or a Fire Extinguisher, or removed using opcodes 02D1 or 031A. If you start a new game without extinguishing the fire, the fire carries over into the new game.

Keywords

create, start, script, fire

See also

  • GTA III Vice City San Andreas 0325, creates a fire on the vehicle
  • GTA III Vice City San Andreas 0326, creates a fire on the character