04A9
Jump to navigation
Jump to search
- 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
- 04AA, checks if the player is in a helicopter