moveTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
m (Some wiki formatting)
Line 1: Line 1:
[[Category:Scripting Commands|MOVETO]]
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1


|1.00
|version1= 1.00


|arg= local
|arg= local
Line 15: Line 11:
|gr1= Unit Control
|gr1= Unit Control


| Low level command to person to move to given position.
|descr= Low level command to person to move to given position.


| person [[moveTo]] position
|s1= person [[moveTo]] position


|p1= person: [[Object]]
|p1= person: [[Object]]
Line 23: Line 19:
|p2= position: [[PositionATL]]
|p2= position: [[PositionATL]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_myAgent [[moveTo]] [[getPosATL]] [[player]];</code>
|x1= <code>_myAgent [[moveTo]] [[getPosATL]] [[player]];</code>


| [[doMove]], [[commandMove]], [[setDestination]], [[move]], [[moveToCompleted]], [[moveToFailed]], [[addWaypoint]], [[fn_vbs_doMoveEx_(VBS2)|fn_vbs_doMoveEx]]
|seealso= [[doMove]], [[commandMove]], [[setDestination]], [[move]], [[moveToCompleted]], [[moveToFailed]], [[addWaypoint]]
}}
}}


Line 34: Line 30:


<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]]<dd class="note">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.
<dt class="note">[[User:Rübe|Rübe]]</dt>
<dd class="note">
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>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 01:30, 1 February 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:
person moveTo position
Parameters:
person: 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.