Arma 3 Scripting

moveToCompleted

  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · original wiki page

Description

Check if latest low level moveTo command is finished. Returns true if given AI pilot unit state == COMPLETED

Syntax

moveToCompleted person

Parameters:

Returns: Boolean

Examples

Example 1

_isCompleted = moveToCompleted _unit;

See also

moveTo · moveToFailed

Community notes

DreadedEntity

This command can also check the status of doMove and commandMove (A3 2.08.149102) This is handy to make your script wait until a unit has moved to some position:

waitUntil {moveToCompleted _unit};