Difference between revisions of "04AB"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|SA}} | |
− | '' | + | | command = IS_CHAR_IN_ANY_PLANE |
− | ''' | + | | description = Checks if the character is in a plane |
+ | | syntax1 = 04AB: actor [''char handle''] driving_plane | ||
+ | | p1t = [''char handle''] | ||
+ | | p1d = The handle of the character | ||
+ | | native = [[IS_CHAR_IN_ANY_PLANE]] | ||
+ | }} | ||
− | This conditional opcode | + | This conditional opcode returns true if the character 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#Model Flag Data|handling.cfg]] file): |
+ | *Andromada | ||
+ | *AT-400 | ||
+ | *Beagle | ||
+ | *Cropduster | ||
+ | *Dodo | ||
+ | *Hydra | ||
+ | *Nevada | ||
+ | *RC Baron | ||
+ | *Shamal | ||
+ | *Skimmer | ||
+ | *Stuntplane | ||
− | == | + | == Keywords == |
− | + | check, actor, character, driving, flying, piloting, operating, any, plane | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | == See also == |
− | + | * {{Icon|VC}} [[04AC]], checks if the player is in a plane | |
− | |||
− | [[ |
Latest revision as of 16:58, 16 June 2016
- Description
- Checks if the character is in a plane
- Syntax
- 04AB: actor [char handle] driving_plane
- Parameter
- [char handle]
- The handle of the character
- Native analog
- IS_CHAR_IN_ANY_PLANE
This conditional opcode returns true if the character 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):
- Andromada
- AT-400
- Beagle
- Cropduster
- Dodo
- Hydra
- Nevada
- RC Baron
- Shamal
- Skimmer
- Stuntplane
Keywords
check, actor, character, driving, flying, piloting, operating, any, plane
See also
- 04AC, checks if the player is in a plane