Difference between revisions of "04AC"
Jump to navigation
Jump to search
(Created page with "{{Icon|VC}} '''IS_PLAYER_IN_ANY_PLANE''' <hr /> '''Description''' : Checks if the player is in a plane '''Syntax''' : 04AC: player [''player handle''] in_any_plane '''P...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = IS_PLAYER_IN_ANY_PLANE | |
− | + | | description = Checks if the player is in a plane | |
− | + | | syntax1 = 04AC: player [''player handle''] in_any_plane | |
− | + | | p1t = [''player handle''] | |
− | + | | p1d = The [[0053|handle of the player]] | |
− | + | }} | |
− | |||
− | This conditional opcode returns true if the player is in a plane, either as a driver or a passenger | + | This conditional opcode returns true if the player is in a plane, either as a driver or a passenger. By default the game will recognize the following list of vehicles as planes (for which the IS_PLANE flag is set in the [[Handling.cfg#Flag_Data_2|handling.cfg]] file): |
* Skimmer | * Skimmer | ||
* RC Baron | * RC Baron | ||
Line 15: | Line 14: | ||
== Keywords == | == Keywords == | ||
− | player, driving, any, plane | + | check, player, driving, any, plane |
− | [[ | + | == See also == |
+ | * {{Icon|SA}} [[04AB]], checks if the character is in a plane |
Latest revision as of 16:46, 16 June 2016
- Description
- Checks if the player is in a plane
- Syntax
- 04AC: player [player handle] in_any_plane
- Parameter
- [player handle]
- The handle of the player
This conditional opcode returns true if the player is in a plane, either as a driver or a passenger. By default the game will recognize the following list of vehicles as planes (for which the IS_PLANE flag is set in the handling.cfg file):
- Skimmer
- RC Baron
This opcode was never called in the original script of Vice City.
Keywords
check, player, driving, any, plane
See also
- 04AB, checks if the character is in a plane