Difference between revisions of "0326"
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 = ['' | + | | p1t = [''char handle''] |
− | | p1d = | + | | p1d = The handle of the character |
− | | p2t = ['' | + | | p2t = [''var''] |
− | | p2d = | + | | 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
- 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