setPosASL2: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 19: | Line 19: | ||
{{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.}} | ||
|s1= | |s1= obj [[setPosASL2]] pos | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] |
Revision as of 22:30, 19 June 2021
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.
- Groups:
- Broken CommandsPositions
Syntax
- Syntax:
- obj setPosASL2 pos
- Parameters:
- obj: Object
- pos: Array
- 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 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.