Description
Sets oxygen remaining. It has no effect when soldier is not diving.
Syntax
unit setOxygenRemaining value
Parameters:
Returns: Nothing
Examples
Example 1
if (!isAbleToBreathe player) then
{
player setOxygenRemaining 0; // drowns player
};