swimInDepth: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Unit Control |GROUP1= | |gr1= Unit Control |GROUP1= | ||
| Sets the target depth level for swimming soldier. Depth should be a negative number. |DESCRIPTION= | | Sets the target depth level for swimming soldier. Depth should be a negative number. |DESCRIPTION= | ||
| unit '''swimInDepth''' value |SYNTAX= | | unit '''swimInDepth''' value |SYNTAX= | ||
Line 25: | Line 22: | ||
bob [[doMove]] [[ASLToAGL]] [[getPosASL]] [[player]];</code>|EXAMPLE2= | bob [[doMove]] [[ASLToAGL]] [[getPosASL]] [[player]];</code>|EXAMPLE2= | ||
| [[underwater]] |SEEALSO= | | [[underwater]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 03:50, 17 January 2021
Description
- Description:
- Sets the target depth level for swimming soldier. Depth should be a negative number.
- Groups:
- Unit Control
Syntax
Examples
- Example 1:
soldier swimInDepth -20;
- Example 2:
bob swimInDepth -10; bob doMove ASLToAGL getPosASL player;
Additional Information
- See also:
- underwater
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
Notes
Bottom Section
- Posted on June 13, 2017 - 01:18 (UTC)
- DrSova
- Doesn't work with animals.