setOxygenRemaining

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 0.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Sets oxygen remaining. It has no effect when soldier is not diving. Oxygen remaining is a number between 0 and 1.

Syntax

Syntax:
unit setOxygenRemaining value
Parameters:
unit: Object
value: Number
Return Value:
Nothing

Examples

Example 1:
player setOxygenRemaining 0; // Drowns player

Additional Information

Multiplayer:
-
See also:
getOxygenRemaining

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section