setPosASL2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 41: Line 41:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 12:32, 2 November 2011

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.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
player setPosASL2 [getPosASL player select 0, getPosASL player select 1 + 10, getPosASL select 2]

Additional Information

See also:
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

Bottom Section