GetActorNameplateFor
The label one viewer alone reads over an actor (SetActorNameplateFor).
Syntax
Section titled “Syntax”GetActorNameplateFor(viewer, id)| Parameter | Type | |
|---|---|---|
viewer |
number | the player who reads it |
id |
number | the actor |
Returns
Section titled “Returns”string - the viewer’s own label; "" when they read the actor’s own
Example
Section titled “Example”if GetActorNameplateFor(pid, innkeeper) == "" then SetActorNameplateFor(pid, innkeeper, "A tired man") endSee also
Section titled “See also”SetActorNameplateFor · the NPC actors group of the index
