Difference between revisions of "00A2"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{Icon|3}} '''IS_CHAR_STILL_ALIVE''' <hr /> <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| '''Description''' : Checks if the character is alive '''Syntax''' : 00A2: …')
 
m
 
Line 1: Line 1:
{{Icon|3}} '''IS_CHAR_STILL_ALIVE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = IS_CHAR_STILL_ALIVE
'''Description'''
+
| description = Checks if the character is alive
: Checks if the character is alive
+
| syntax1    = 00A2: &nbsp; actor [''char handle''] alive
'''Syntax'''
+
| p1t        = [''char handle'']
: 00A2: &nbsp; actor [''char handle''] alive
+
| p1d        = The handle of the character
'''Parameter'''
+
}}
: [''char handle'']
 
:: The handle of the character
 
  
This opcode behaves exactly opposite to opcode [[0118]], which checks if the character is dead.
+
This conditional opcode returns true if the character is alive, behaving exactly opposite to opcode [[0118]] which checks if the character is dead.
}}</onlyinclude>
 
  
 
== Keywords ==
 
== Keywords ==
 
check, character, actor, alive, dead
 
check, character, actor, alive, dead
 
[[Category:OpCodes]]
 

Latest revision as of 16:35, 4 June 2016

GTA III IS_CHAR_STILL_ALIVE


Description
Checks if the character is alive
Syntax
00A2:   actor [char handle] alive
Parameter
[char handle]
The handle of the character

This conditional opcode returns true if the character is alive, behaving exactly opposite to opcode 0118 which checks if the character is dead.

Keywords

check, character, actor, alive, dead