setPosATL: Difference between revisions
Jump to navigation
Jump to search
Posted on Feb 26, 2012 - 18:12 (CEST)
Lou Montana
Please Note : this command demands PositionATL format ; one does not simply give 2D position, as this function won't do anything.
(syntax, seealso) |
m (3D format !) |
||
Line 24: | Line 24: | ||
| [[getPosATL]], [[getPos]], [[getPosASL]], [[setPos]], [[setPosASL]] |= See also | | [[getPosATL]], [[getPos]], [[getPosASL]], [[setPos]], [[setPosASL]] |= See also | ||
}} | |||
<dd class="notedate">Posted on Feb 26, 2012 - 18:12 (CEST) | |||
<dt class="note">'''[[User:Lou Montana|Lou Montana]]''' | |||
<dd class="note"> '''Please Note :''' this command '''demands''' [[PositionATL]] format ; one does not simply give 2D position, as this function won't do anything. | |||
[[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_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 18:16, 26 February 2012
Description
- Description:
- Sets the position of an object relative to the terrain.
- Groups:
- Uncategorised
Syntax
- Syntax:
- object setPosATL pos
- Parameters:
- object: Object
- pos: Array - format PositionATL
- Return Value:
- Nothing
Examples
- Example 1:
player setPosATL [ getPosATL player select 0, (getPosATL player select 1) - 10, getPosATL player select 2]
Additional Information
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