isAbleToBreathe unitName

Operand types

unitName: Object

Type of returned value

Description

Returns whether the unit is able to breathe.
False if unit is under water without rebreather.

Used In

Arma3

Example

if (!(isAbleToBreathe player)) then {
hint "YOU'RE DROWNING!!";
};
Search OFPEC COMREF