move: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(35 intermediate revisions by 18 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#M|COMREF]]
{{Command|Comments=
____________________________________________________________________________________________


<h2 style="color:#000066">''group '''''move ''pos'''''</h2>
| ofp |Game name=


|1.00|Game version=


'''Operand types:'''
|arg= local |MParg=


'''group:''' [[Object or Group]]
|eff= global |MPeff=
____________________________________________________________________________________________


'''pos:''' [[Array]]
| Let group move to given position. Active waypoints will be ignored when command is used. |DESCRIPTION=
____________________________________________________________________________________________


'''Type of returned value:'''
| group [[move]] position |SYNTAX=


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


'''Description:'''
|p2= position: [[Position2D]] or [[PositionATL]] |PARAMETER2=


Creates a move waypoint on given position (format [[Position]]) and makes it an actual group waypoint.
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_groupOne [[move]] [[position]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________


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


'''Example:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


groupOne '''move''' [[getPos]] [[player]]
<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 ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Unit_Control|{{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