Arma 3 Scripting

getOxygenRemaining

  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

Returns amount of remaining oxygen.

Syntax

getOxygenRemaining unit

Parameters:

Returns: Number

Examples

Example 1

_oxygen = getOxygenRemaining player;

See also

setOxygenRemaining

Community notes

Benargee

Unit will die instantly at 0 oxygen unlike some other games that permit a certain amount of time after oxygen is depleted.