move: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(this command does not create a waypoint at all. You can check this if you make all waypoints in a mission visible)
m (template:command argument fix)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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 (format [[Position]] or [[Position2D]]) without waypoint. 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]] (for [[Position3D]] --> [[PositionATL]] needs to be used.) |= Parameter 2
|p2= position: [[Array]] - format [[Position]] (for [[Position3D]] --> [[PositionATL]] needs to be used.) |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
|mp= Group or unit must be local to have global effect for this command.|=MP note
|[[doMove]], [[addWaypoint]]  |= See also
|[[doMove]], [[addWaypoint]]  |SEEALSO=


}}
}}

Revision as of 15:43, 7 April 2019


Hover & click on the images for description

Description

Description:
Let group move to given position (format Position or Position2D) without waypoint. Active waypoints will be ignored when command is used.
Multiplayer:
Group or unit must be local to have global effect for this command.
Groups:
Uncategorised

Syntax

Syntax:
group move position
Parameters:
group: Object or Group
position: Array - format Position (for Position3D --> PositionATL needs to be used.)
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