GetActorUseObject
The smart object an actor uses.
Syntax
Section titled “Syntax”GetActorUseObject(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
Returns
Section titled “Returns”string - its key; "" = none, or an activity anywhere
Example
Section titled “Example”print(GetEntityName(guard) .. " sits at " .. GetActorUseObject(guard))See also
Section titled “See also”SetActorUse · GetSmartObjects · the Actor life group of the index
