setOxygenRemaining: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 16: | Line 16: | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[player]] '''setOxygenRemaining''' 0; // Drowns player</code> | |x1= <code>[[player]] '''setOxygenRemaining''' 0; // Drowns player</code> | ||
| [[getOxygenRemaining]] | | [[getOxygenRemaining]] |
Revision as of 17:59, 18 January 2021
Description
- Description:
- Sets oxygen remaining. It has no effect when soldier is not diving. Oxygen remaining is a number between 0 and 1.
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
player setOxygenRemaining 0; // Drowns player
Additional Information
- See also:
- getOxygenRemaining
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