GetActorUse
An actor’s activity or pair.
Syntax
Section titled “Syntax”GetActorUse(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
Returns
Section titled “Returns”string - the activity’s name or the pair’s; "" = none
Example
Section titled “Example”if GetActorUse(guard) == "" then SetActorUse(guard, bench) endSee also
Section titled “See also”SetActorUse · GetActorUseObject · the Actor life group of the index
