setOxygenRemaining: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{RV\|type=command \| arma3 \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \|(.*) \|(.*) \|p1=(.*) \|p2=(.*) \|(.*) \|x1=(.*) \|seealso=(.*) \}\} " to "{{RV|type=command |game1= arma3 |version1= $1 |gr1=$2 |descr=$3 |s1=$4 |p1=...) |
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
||
Line 20: | Line 20: | ||
|seealso= [[getOxygenRemaining]] | |seealso= [[getOxygenRemaining]] | ||
}} | }} | ||
{{GameCategory|arma3|New Scripting Commands}} | {{GameCategory|arma3|New Scripting Commands}} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} |
Revision as of 09:13, 11 June 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