commandMove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|COMMANDMOVE]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|COMMANDMOVE]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|COMMANDMOVE]]
 
[[Category:Scripting Commands ArmA|COMMANDMOVE]]
| ofp |= Game name


|1.00|= Game version


<h2 style="color:#000066"> '''''unit'' commandMove ''position'''''</h2>
|arg= global |= Arguments in MP
____________________________________________________________________________________________


| Order the given unit to move to the given location (via the radio). |= Description
____________________________________________________________________________________________


'''Operand types:'''
| unit '''commandMove''' position |= Syntax


'''unit:''' [[Object]] or [[Array]]
|p1= unit: [[Object]] |= Parameter 1


'''position:''' [[Array]]
|p2= position: [[Position]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>soldier1 commandMove (position "Marker1")</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
| [[doMove]] |= See also


'''Description:'''
}}


Order unit to move to given '''position''' (format [[Position]]) (via radio).
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


soldierOne '''commandMove''' [[getMarkerPos]] "MarkerMoveOne"
[[Category:Scripting Commands|COMMANDMOVE]]
[[Category:Scripting Commands OFP 1.96|COMMANDMOVE]]
[[Category:Scripting Commands OFP 1.46|COMMANDMOVE]]
[[Category:Scripting Commands ArmA|COMMANDMOVE]]

Revision as of 22:58, 1 August 2006

Hover & click on the images for description

Description

Description:
Order the given unit to move to the given location (via the radio).
Groups:
Uncategorised

Syntax

Syntax:
unit commandMove position
Parameters:
unit: Object
position: Position
Return Value:
Nothing

Examples

Example 1:
soldier1 commandMove (position "Marker1")

Additional Information

See also:
doMove

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