{"name":"setPosASL2","operator":null,"title":"setPosASL2","type":"command","url":"https://community.bistudio.com/wiki/setPosASL2","revid":378100,"updated":"2026-02-13T10:46:49Z","groups":["Broken Commands","Positions"],"status":"broken","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets the object position. The pos array uses the PositionASL format.\nThe version of the command does not offset based on object center.\n\n> [!WARNING]\n> This command was deactivated and has no effect. Use setPosWorld instead.","syntaxes":[{"syntax":"obj setPosASL2 pos","since":null,"effect":null,"exec":null,"params":[{"name":"obj","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"obj: Object"},{"name":"pos","type":"PositionASL","optional":false,"default":null,"description":null,"types":["PositionASL"],"since":null,"text":"pos: PositionASL"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"obj","types":["Object"]},"right":{"text":"pos","types":["PositionASL"]}}],"examples":[{"text":"```sqf\nprivate _aslPos = getPosASL player;\n_aslPos set [1, _aslPos select 1 + 10];\nplayer setPosASL2 _aslPos;\n```","code":["private _aslPos = getPosASL player;\n_aslPos set [1, _aslPos select 1 + 10];\nplayer setPosASL2 _aslPos;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setPosWorld","getPosWorld","setPosASL","getPosASL"],"notes":[{"user":"Killzone_Kid","date":"2013-08-21T20:07:00Z","text":"This command appears to do nothing in both Arma 2 and Arma 3."}],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Broken Commands","Command Group: Positions","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}