Arma 3 Scripting

swimInDepth

  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

Sets the target depth level for swimming soldier. Depth should be a negative number.

Syntax

unit swimInDepth value

Parameters:

Returns: Nothing

Examples

Example 1

soldier swimInDepth -20;

Example 2

bob swimInDepth -10;
bob doMove ASLToAGL getPosASL player;

See also

underwater

Community notes

DrSova

Doesn't work with animals.