moveTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
Line 45: Line 45:
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting_Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 03:06, 10 January 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:
doMovecommandMovesetDestinationmovemoveToCompletedmoveToFailedaddWaypointfn_vbs_doMoveEx

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

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.

Bottom Section