04A9

From GTAMods Wiki
Revision as of 07:48, 4 December 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

San Andreas IS_CHAR_IN_ANY_HELI


Description
Checks if the character is in a helicopter
Syntax
04A9:   actor [char handle] driving_heli
Parameter
[char handle]
The handle of the character
Native analog
IS_CHAR_IN_ANY_HELI

This conditional opcode returns true if the character is in a helicopter. By default the game will recognize the following list of vehicles as helicopters (for which the IS_HELI flag is set in the handling.cfg file):

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

Keywords

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

See also

  • Vice City 04AA, checks if the player is in a helicopter