Arma 3 Scripting

Command in Positions

setPosASLW

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the object position above sea surface. The pos array uses the PositionASLW format.

Syntax

obj setPosASLW pos

Parameters:

Returns: Nothing

Examples

Example 1

_diver setPosASLW [(position _diver) select 0, (position _diver) select 1, -10];

See also

getPosASLW · setPosASL · setPosATL · setPos · setPosWorld