StopActorUse
Gets an actor up from its activity or pair.
It plays the activity’s end (stands up, gets off the bed) and OnActorActivity tells "end"; a pair ends for both.
immediate = true stands it up at once, without the callback.
Syntax
Section titled “Syntax”StopActorUse(id [, immediate])| Parameter | Type | |
|---|---|---|
id |
number | the actor |
immediate |
boolean | true = at once (optional) |
Returns
Section titled “Returns”boolean - false when it is in none
Example
Section titled “Example”StopActorUse(innkeeper)See also
Section titled “See also”SetActorUse · PlayActorPairAnim · OnActorActivity · the Actor life group of the index
