Difference between revisions of "02CF"
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 = ['' | + | | p1t = [''flt1''] |
− | | p1d | + | | p1d = X-coordinate |
− | + | | p2t = [''flt2''] | |
− | + | | p2d = Y-coordinate | |
− | | | + | | p3t = [''flt3''] |
− | | | + | | p3d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]]) |
− | | | + | | p4t = [''var''] |
− | | | + | | p4d = Variable to store the handle of the fire |
}} | }} | ||
Latest revision as of 00:26, 20 November 2016
- 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