swimInDepth: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}} " to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 21: Line 21:
bob [[doMove]] [[ASLToAGL]] [[getPosASL]] [[player]];</code>
bob [[doMove]] [[ASLToAGL]] [[getPosASL]] [[player]];</code>


| [[underwater]]
|seealso= [[underwater]]
}}
}}



Revision as of 00:07, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
value: Number
Return Value:
Return value needed

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
Posted on June 13, 2017 - 01:18 (UTC)
DrSova
Doesn't work with animals.