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.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Low level command to person to move to given position. It is good to check first if AI pilot unit state is COMPLETED moveToCompleted first as this command will set unit into WAIT state waiting for instruction, but only if the unit has COMPLETED.
unit moveTo position
Parameters:
unit: Objectposition: PositionATLReturns: Nothing
_myAgent moveTo getPosATL player;
doMove · commandMove · setDestination · move · moveToCompleted · moveToFailed · addWaypoint
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.