setPosASL2: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
No edit summary
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
____________________________________________________________________________________________


| arma2 |= Game name
|1.00|= Game version
____________________________________________________________________________________________
| Sets the object position. The pos array uses the [[PositionASL]] format. The version of the command does not offset based on object center.
{{warning | Appears to be broken}}|= Description|= Description
____________________________________________________________________________________________
| obj '''setPosASL2''' pos|= Syntax
|p1= obj: [[Object]] |= PARAMETER1
|p2= pos: [[Array]] |= PARAMETER2
|p3= |= PARAMETER3
| [[Nothing]] |= RETURNVALUE
|x1= <code>player '''setPosASL2''' <nowiki>[</nowiki>[[getPosASL]] player select 0, ([[getPosASL]] player select 1) + 10, [[getPosASL]] player select 2] </code>|= EXAMPLE1
____________________________________________________________________________________________
| [[setPosASL]] [[getPosASL]] |= SEEALSO
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 21 Aug, 2013
<dt class="note">'''[[User:‎Killzone_Kid|‎Killzone Kid]]'''<dd class="note">
This command appears to do nothing in both Arma 2 and Arma 3. Tested on 21-08-2013.
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Broken Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 16:00, 8 August 2015

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.
Appears to be broken
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 player 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

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.

Bottom Section