Warning: file_put_contents(/ff_275c59832ee12e37caefd36d742acb249ec5457aac0ad24d.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setPosASL2 - OFPEC Scripting Command Reference | OFPEC The Editing Center

obj setPosASL2 pos

Operand types

obj: Object
pos: Array

Type of returned value

Description

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

Used In

Arma2

Example

player setPosASL2 [getposASL2 player select 0, (getposASL2 player select 1) + 10, getPosASL2 select 2]

Advertisement