StopActor
Stops an actor where it is.
No OnActorArrive. Also ends a chase started by SetActorHostile only as far as the walk goes - the fight of record stays
until its timeout.
Syntax
Section titled “Syntax”StopActor(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
Returns
Section titled “Returns”boolean - false for anything but an actor
Example
Section titled “Example”StopActor(guard)SetActorAnim(guard, "sit")See also
Section titled “See also”MoveActor · IsActorMoving · the NPC actors group of the index
