Difference between revisions of "0326"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 4: Line 4:
 
| description = Creates a fire on the character
 
| description = Creates a fire on the character
 
| syntax1    = 0326: [''var''] = create_actor [''char handle''] fire
 
| syntax1    = 0326: [''var''] = create_actor [''char handle''] fire
| p1t        = [''var'']
+
| p1t        = [''char handle'']
| p1d        = Variable to store the handle of the fire
+
| p1d        = The handle of the character
| p2t        = [''char handle'']
+
| p2t        = [''var'']
| p2d        = The handle of the character
+
| p2d        = Variable to store the handle of the fire
 
| native      = [[START_CHAR_FIRE]]
 
| native      = [[START_CHAR_FIRE]]
 
}}
 
}}

Latest revision as of 00:29, 20 November 2016

GTA III Vice City San Andreas START_CHAR_FIRE


Description
Creates a fire on the character
Syntax
0326: [var] = create_actor [char handle] fire
Parameter
[char handle]
The handle of the character
[var]
Variable to store the handle of the fire
Native analog
START_CHAR_FIRE

This creates a fire on the character. The fire damages the character like any fire and can harm the player. The character is set to flee but it can be interrupted by assigning it an objective. The fire can be extinguished with the Firetruck's hose or a Fire Extinguisher, or removed using opcodes 02D1 or 031A. To prevent the character from burning to death but still have it on fire like in the Firefighter mission, the player must be in a vehicle and the character set to only be damaged by player trough opcode 02A9. Exiting the vehicle will make the fire start hurting the character; getting back into the vehicle will stop hurting it. The fire will oddly randomly put itself out if the character is interrupted.

Keywords

create, start, fire, actor, character

See also

  • GTA III Vice City San Andreas 02CF, creates a fire at the coordinates point
  • GTA III Vice City San Andreas 0325, creates a fire on the vehicle