move: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|eff= global |=" to "|eff= global |MPeff=")
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Scripting Commands|MOVE]]
[[Category:Scripting Commands OFP 1.96|MOVE]]
[[Category:Scripting Commands OFP 1.46|MOVE]]
[[Category:Scripting Commands ArmA|MOVE]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 12: Line 6:
|1.00|Game version=
|1.00|Game version=


|arg= local |=
|arg= local |MParg=


|eff= global |MPeff=
|eff= global |MPeff=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Let group move to given position (format [[Position]] or [[Position2D]]) without waypoint. Active waypoints will be ignored when command is used. |DESCRIPTION=
| Let group move to given position. Active waypoints will be ignored when command is used. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| group '''move''' position |SYNTAX=
| group [[move]] position |SYNTAX=


|p1= group: [[Object]] or [[Group]] |PARAMETER1=
|p1= group: [[Object]] or [[Group]] |PARAMETER1=


|p2= position: [[Array]] - format [[Position]] (for [[Position3D]] --> [[PositionATL]] needs to be used.) |PARAMETER2=  
|p2= position: [[Position2D]] or [[PositionATL]] |PARAMETER2=  


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
Line 31: Line 25:
|x1= <code>_groupOne [[move]] [[position]] [[player]];</code> |EXAMPLE1=
|x1= <code>_groupOne [[move]] [[position]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________
|mp= Group or unit must be local to have global effect for this command.|=MP note
|[[doMove]], [[addWaypoint]]  |SEEALSO=


|[[doMove]], [[addWaypoint]] |SEEALSO=
}}
}}


Line 43: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]

Revision as of 13:40, 6 April 2020

Hover & click on the images for description

Description

Description:
Let group move to given position. Active waypoints will be ignored when command is used.
Groups:
Uncategorised

Syntax

Syntax:
group move position
Parameters:
group: Object or Group
position: Position2D or PositionATL
Return Value:
Nothing

Examples

Example 1:
_groupOne move position player;

Additional Information

See also:
doMoveaddWaypoint

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