setPosASL2: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
||
Line 45: | Line 45: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 18:19, 9 January 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
Notes
- 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.