Difference between revisions of "04AD"
Jump to navigation
Jump to search
m |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | ''' | + | | command = IS_CHAR_IN_WATER |
− | '' | + | | description = Checks if the character is in water |
+ | | syntax1 = 04AD: actor [''char handle''] in_water | ||
+ | | p1t = [''char handle''] | ||
+ | | p1d = The handle of the character | ||
+ | }} | ||
− | This opcode | + | This conditional opcode returns true if the character is touching water while on foot. It returns false otherwise, including when the character is submerged while in a vehicle. |
− | ==Keywords== | + | == Keywords == |
− | check, actor, touching, water | + | check, actor, character, touch, touching, water |
− | [[ | + | == See also == |
+ | * {{Icon|VC}} [[0521]], checks if the character is drowning in water |
Latest revision as of 08:02, 4 December 2016
- Description
- Checks if the character is in water
- Syntax
- 04AD: actor [char handle] in_water
- Parameter
- [char handle]
- The handle of the character
This conditional opcode returns true if the character is touching water while on foot. It returns false otherwise, including when the character is submerged while in a vehicle.
Keywords
check, actor, character, touch, touching, water
See also
- 0521, checks if the character is drowning in water