doMove: 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|DOMOVE]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|DOMOVE]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|DOMOVE]]
 
[[Category:Scripting Commands ArmA|DOMOVE]]
| ofp |= Game name
 
|1.00|= Game version


|arg= global |= Arguments in MP


<h2 style="color:#000066">'''''unit'' doMove ''position'''''</h2>
|eff= global |= Effects in MP
____________________________________________________________________________________________


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


'''Operand types:'''
| unit '''doMove''' 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 doMove (position "Marker1")</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
| [[commandMove]] |= See also


'''Description:'''
}}


Order unit to move to given position (format [[Position]]) (silently).
<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 '''doMove''' [[getMarkerPos]] "MarkerMoveOne"
[[Category:Scripting Commands|DOMOVE]]
[[Category:Scripting Commands OFP 1.96|DOMOVE]]
[[Category:Scripting Commands OFP 1.46|DOMOVE]]
[[Category:Scripting Commands ArmA|DOMOVE]]

Revision as of 00:49, 2 August 2006

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
soldier1 doMove (position "Marker1")

Additional Information

See also:
commandMove

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