underwater unitName

Operand types

unitName: Object

Type of returned value

Description

Return whether object is fully underwater.

NOTE:
Appears to return true only after the diving animations kick in, standing just below water surface still returned false..

Used In

Arma3

Example

if (underwater player) then {
hint "You're drowning!";
};
Search OFPEC COMREF