IsActorMoving
Whether an actor is on its way to a MoveActor target.
Syntax
Section titled “Syntax”IsActorMoving(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
Returns
Section titled “Returns”boolean - false once arrived or stopped
Example
Section titled “Example”if not IsActorMoving(guard) then MoveActor(guard, x, y, z, 1.5) endSee also
Section titled “See also”MoveActor · OnActorArrive · the NPC actors group of the index
