0521
Revision as of 08:02, 16 January 2016 by Spaceeinstein (talk | contribs) (Created page with "{{OpCode | games = {{Icon|VC}} | command = IS_CHAR_DROWNING_IN_WATER | description = Checks if the character is drowning in water | syntax1 = 0521: actor...")
- Description
- Checks if the character is drowning in water
- Syntax
- 0521: actor [char handle] drowning_in_water
- Parameter
- [char handle]
- The handle of the character
This conditional opcode returns true when the character is taking damage from ocean water while on foot. It returns false otherwise, including when the character is drowning while in a vehicle. This opcode is not supported in the original PS2 version. It first appeared in the PC version as a replacement for opcode 04AD in the "CELL" script (cellphone calls are ended when you are drowning, not when you are merely touching water).
Keywords
check, actor, character, drown, drowning, water