moveTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|s1= person" to "|s1= unit")
m (formatting)
Line 4: Line 4:


|version1= 1.00
|version1= 1.00
|game2= arma2
|version2= 1.00
|game3= arma2oa
|version3= 1.51
|game4= tkoh
|version4= 1.00
|game5= arma3
|version5= 0.50


|arg= local
|arg= local
Line 15: Line 31:
|s1= unit [[moveTo]] position
|s1= unit [[moveTo]] position


|p1= person: [[Object]]
|p1= unit: [[Object]]


|p2= position: [[PositionATL]]
|p2= position: [[PositionATL]]
Line 27: Line 43:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 14, 2010 - 05:44</dd>
<dd class="notedate">Posted on August 14, 2010 - 05:44</dd>
<dt class="note">[[User:Rübe|Rübe]]</dt>
<dt class="note">[[User:Rübe|Rübe]]</dt>
Line 34: Line 48:
moveTo is a low-level command used in [[FSM]] called with doFSM or commandFSM. See [[doFSM]] for more information about this. Use [[doMove]] everywhere else - even in FSM executed with execFSM.
moveTo is a low-level command used in [[FSM]] called with doFSM or commandFSM. See [[doFSM]] for more information about this. Use [[doMove]] everywhere else - even in FSM executed with execFSM.
</dd>
</dd>
<!-- Note Section END -->
</dl>
</dl>
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 12:05, 27 March 2021

Hover & click on the images for description

Description

Description:
Low level command to person to move to given position.
Groups:
Unit Control

Syntax

Syntax:
unit moveTo position
Parameters:
unit: Object
position: PositionATL
Return Value:
Nothing

Examples

Example 1:
_myAgent moveTo getPosATL player;

Additional Information

See also:
doMovecommandMovesetDestinationmovemoveToCompletedmoveToFailedaddWaypoint

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
Posted on August 14, 2010 - 05:44
Rübe
moveTo is a low-level command used in FSM called with doFSM or commandFSM. See doFSM for more information about this. Use doMove everywhere else - even in FSM executed with execFSM.