Difference between revisions of "04A9"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
 
| ini        = 04A9=1,  %1d%
 
| ini        = 04A9=1,  %1d%
| description = Checks if an actor is operating a helicopter
+
| description = Checks if an actor is in a helicopter
 
| p1          = Actor handle
 
| p1          = Actor handle
 
| game        = [[San Andreas]]
 
| game        = [[San Andreas]]
 
| native      = [[IS_CHAR_IN_ANY_HELI]]
 
| native      = [[IS_CHAR_IN_ANY_HELI]]
 
}}
 
}}
This opcode checks if an actor is operating a helicopter. It supersedes [[Vice City]]'s opcode [[04AA]].
+
This opcode checks if an actor is in a helicopter. It supersedes [[Vice City]]'s opcode [[04AA]]. The game will recognize the following list of vehicles as helicopters.
 
 
==List of Helicopters==
 
The game will recognize the following list of vehicles as helicopters.
 
 
*Cargobob
 
*Cargobob
 
*Hunter
 
*Hunter
Line 23: Line 20:
  
 
==Keywords==
 
==Keywords==
actor, piloting, driving, operating, helicopter, rotorcraft
+
check, actor, piloting, driving, operating, helicopter, rotorcraft

Revision as of 02:49, 20 February 2010

{{{games}}}


Description
Checks if an actor is in a helicopter
Syntax
{{{syntax1}}}
Parameter
Native analog
IS_CHAR_IN_ANY_HELI

This opcode checks if an actor is in a helicopter. It supersedes Vice City's opcode 04AA. The game will recognize the following list of vehicles as helicopters.

  • Cargobob
  • Hunter
  • Leviathan
  • Maverick
  • News Chopper
  • Police Maverick
  • Raindancer
  • RC Goblin
  • RC Raider
  • Sea Sparrow
  • Sparrow

Keywords

check, actor, piloting, driving, operating, helicopter, rotorcraft