getOxygenRemaining: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "</dd> </dl>" to "</dd> </dl>")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Object Manipulation
|gr1= Object Manipulation


| Returns amount of remaining oxygen.
|descr= Returns amount of remaining oxygen.


|s1=  '''getOxygenRemaining''' unit
|s1=  '''getOxygenRemaining''' unit

Revision as of 22:06, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns amount of remaining oxygen.
Groups:
Object Manipulation

Syntax

Syntax:
getOxygenRemaining unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
_oxygen = getOxygenRemaining player;

Additional Information

See also:
setOxygenRemaining

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on October 24, 2014 - 23:43 (UTC)
Benargee
Unit will die instantly at 0 oxygen unlike some other games that permit a certain amount of time after oxygen is depleted.