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")
(36 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<h2 style="color:#000066">''group '''''move ''pos'''''</h2>
{{Command|Comments=
____________________________________________________________________________________________


'''Operand types:'''
| ofp |Game name=


group: [[Object]] or [[Group]]
|1.00|Game version=


pos: [[Array]]
|arg= local |MParg=


'''Type of returned value:'''
|eff= global |MPeff=
____________________________________________________________________________________________


Nothing
| Let group move to given position. Active waypoints will be ignored when command is used. |DESCRIPTION=
____________________________________________________________________________________________


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


Creates a move waypoint on given position (format Position) and makes it an actual group waypoint.
|p1= group: [[Object]] or [[Group]] |PARAMETER1=


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


groupOne '''move''' getPos player
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>_groupOne [[move]] [[position]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
|[[doMove]], [[addWaypoint]] |SEEALSO=
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
 
<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