setPosASL2: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
m (Some wiki formatting)
 
Line 16: Line 16:
|gr2= Positions
|gr2= Positions


|descr= Sets the object position. The pos array uses the [[Position#PositionASL|PositionASL]] format. The version of the command does not offset based on object center.  
|descr= Sets the object position. The pos array uses the [[Position#PositionASL|PositionASL]] format.
The version of the command does not offset based on object center.  
{{Feature|warning|This command was deactivated and has no effect. Use [[setPosWorld]] instead.}}
{{Feature|warning|This command was deactivated and has no effect. Use [[setPosWorld]] instead.}}


Line 36: Line 37:
}}
}}


<dl class="command_description">
{{Note
 
|user= Killzone_Kid
<dt></dt>
|timestamp= 20130821200700
<dd class="notedate">Posted on 21 Aug, 2013</dd>
|text= This command appears to do nothing in both {{arma2}} and {{arma3}}.
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]</dt>
}}
<dd class="note">
This command appears to do nothing in both Arma 2 and Arma 3. Tested on 21-08-2013.
</dl>

Latest revision as of 11:46, 13 February 2026

Hover & click on the images for description

Description

Description:
Sets the object position. The pos array uses the PositionASL format. The version of the command does not offset based on object center.
This command was deactivated and has no effect. Use setPosWorld instead.
Groups:
Broken CommandsPositions

Syntax

Syntax:
obj setPosASL2 pos
Parameters:
obj: Object
pos: PositionASL
Return Value:
Nothing

Examples

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

Additional Information

See also:
setPosWorld getPosWorld setPosASL getPosASL

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Killzone_Kid - c
Posted on Aug 21, 2013 - 20:07 (UTC)
This command appears to do nothing in both Arma 2 and Arma 3.