move: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|MOVE]]
{{Command|Comments=
[[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
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|1.00|Game version=


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


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


| Creates a move waypoint on the given position (format [[Position]] or [[Position2D]]) and makes it the currently active group waypoint. |= 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]] |= Parameter 1
|p1= group: [[Object]] or [[Group]] |PARAMETER1=


|p2= position: [[Array]] - format [[Position]] |= Parameter 2
|p2= position: [[Position2D]] or [[PositionATL]] |PARAMETER2=  


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_groupOne [[move]] [[position]] [[player]];</code> |= Example 1
|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]]  |= See also


|[[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