setPosASL2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{( *)Warning( *)\|" to "{{$1Feature$2|$Warning$2|")
m (Text replacement - " +\|\$Warning( *)\|" to " |$1Warning$1|")
Line 9: Line 9:


| Sets the object position. The pos array uses the [[PositionASL]] format. The version of the command does not offset based on object center.  
| Sets the object position. The pos array uses the [[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.}}


| obj [[setPosASL2]] pos
| obj [[setPosASL2]] pos

Revision as of 01:33, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Broken CommandsPositions

Syntax

Syntax:
Syntax needed
Parameters:
obj: Object
pos: Array
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on 21 Aug, 2013
‎Killzone Kid
This command appears to do nothing in both Arma 2 and Arma 3. Tested on 21-08-2013.