Arma 3 Scripting

Command in Broken Commands, Positions

setPosASL2

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

Warning

This command is listed as broken on the wiki.

Description

Sets the object position. The pos array uses the PositionASL format. The version of the command does not offset based on object center.

Warning

This command was deactivated and has no effect. Use setPosWorld instead.

Syntax

obj setPosASL2 pos

Parameters:

Returns: Nothing

Examples

Example 1

private _aslPos = getPosASL player;
_aslPos set [1, _aslPos select 1 + 10];
player setPosASL2 _aslPos;

See also

setPosWorld · getPosWorld · setPosASL · getPosASL

Community notes

Killzone_Kid

This command appears to do nothing in both Arma 2 and Arma 3.