Warning: file_put_contents(/ff_cbc3e66100dcb3c19669732a71d21d46263b094c4df2e877.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
isAbleToBreathe - OFPEC Scripting Command Reference | OFPEC The Editing Center

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!!";
};

Advertisement