Difference between revisions of "0326"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|trilogy}} '''START_CHAR_FIRE''' <hr /> '''Description''' : Creates a fire on the character '''Syntax''' : 0326: [''var''] = create_actor [''char handle''] fire '''Param...")
 
m
Line 1: Line 1:
{{Icon|trilogy}} '''START_CHAR_FIRE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = START_CHAR_FIRE
: Creates a fire on the character
+
| description = Creates a fire on the character
'''Syntax'''
+
| syntax1    = 0326: [''var''] = create_actor [''char handle''] fire
: 0326: [''var''] = create_actor [''char handle''] fire
+
| p1t        = [''var'']
'''Parameter'''
+
| p1d        = Variable to store the handle of the fire
: [''var'']
+
| p2t        = [''char handle'']
:: Variable to store the handle of the fire
+
| p2d        = The handle of the character
: [''char handle'']
+
| native      = [[START_CHAR_FIRE]]
:: The handle of the character
+
}}
'''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 opcode [[02D1]]. 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.
+
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 ==
 
== Keywords ==
Line 19: Line 17:
  
 
== See also ==
 
== See also ==
* [[0325]], creates a fire on the vehicle
+
* {{Icon|t}} [[02CF]], creates a fire at the coordinates point
 
+
* {{Icon|t}} [[0325]], creates a fire on the vehicle
[[Category:OpCodes]]
 

Revision as of 16:11, 4 February 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
[var]
Variable to store the handle of the fire
[char handle]
The handle of the character
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