Difference between revisions of "04AA"
Jump to navigation
Jump to search
(Created page with "{{Icon|VC}} '''IS_PLAYER_IN_ANY_HELI''' <hr /> '''Description''' : Checks if the player is in a helicopter '''Syntax''' : 04AA: player [''player handle''] in_any_heli '...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = IS_PLAYER_IN_ANY_HELI | |
− | + | | description = Checks if the player is in a helicopter | |
− | + | | syntax1 = 04AA: player [''player handle''] in_any_heli | |
− | + | | p1t = [''player handle''] | |
− | + | | p1d = The [[0053|handle of the player]] | |
− | + | }} | |
− | |||
− | This conditional opcode returns true if the player is in a helicopter, either as a driver or a passenger | + | This conditional opcode returns true if the player is in a helicopter, either as a driver or a passenger. 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#Flag_Data_2|handling.cfg]] file): |
* Hunter | * Hunter | ||
* Maverick | * Maverick | ||
Line 22: | Line 21: | ||
player, driving, any, helicopter, heli | player, driving, any, helicopter, heli | ||
− | [[ | + | == See also == |
+ | * {{Icon|SA}} [[04A9]], checks if the character is in a helicopter |
Latest revision as of 07:55, 4 December 2016
- Description
- Checks if the player is in a helicopter
- Syntax
- 04AA: player [player handle] in_any_heli
- Parameter
- [player handle]
- The handle of the player
This conditional opcode returns true if the player is in a helicopter, either as a driver or a passenger. 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):
- Hunter
- Maverick
- Police Maverick
- RC Goblin
- RC Raider
- Sea Sparrow
- Sparrow
- VCN Maverick
Keywords
player, driving, any, helicopter, heli
See also
- 04A9, checks if the character is in a helicopter