setPosASL2: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (template:command argument fix) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 8: | Line 8: | ||
| Sets the object position. The pos array uses the [[PositionASL]] format. The version of the command does not offset based on object center. |= | | 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|= | | obj '''setPosASL2''' pos|SYNTAX= | ||
|p1= obj: [[Object]] |= | |p1= obj: [[Object]] |PARAMETER1= | ||
|p2= pos: [[Array]] |= | |p2= pos: [[Array]] |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>player '''setPosASL2''' <nowiki>[</nowiki>[[getPosASL]] player select 0, ([[getPosASL]] player select 1) + 10, [[getPosASL]] player select 2] </code>|= | |x1= <code>player '''setPosASL2''' <nowiki>[</nowiki>[[getPosASL]] player select 0, ([[getPosASL]] player select 1) + 10, [[getPosASL]] player select 2] </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setPosASL]] [[getPosASL]] |= | | [[setPosASL]] [[getPosASL]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
Line 35: | Line 36: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- 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 --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
Line 45: | Line 48: | ||
[[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}}}}]] | ||
[[Category:Broken Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 14:48, 7 April 2019
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. Template:warning
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
player setPosASL2 [getPosASL player select 0, (getPosASL player select 1) + 10, getPosASL 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
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.