swimInDepth

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

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

Syntax

Syntax:
unit swimInDepth value
Parameters:
unit: Object
value: Number
Return Value:
Nothing

Examples

Example 1:
soldier swimInDepth -20;
Example 2:
bob swimInDepth -10; bob doMove ASLToAGL getPosASL player;

Additional Information

Multiplayer:
-
See also:
underwater

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on June 13, 2017 - 01:18 (UTC)
DrSova
Doesn't work with animals.