Skip to content

GetActorNameplateFor

The label one viewer alone reads over an actor (SetActorNameplateFor).

GetActorNameplateFor(viewer, id)
Parameter Type
viewer number the player who reads it
id number the actor

string - the viewer’s own label; "" when they read the actor’s own

if GetActorNameplateFor(pid, innkeeper) == "" then SetActorNameplateFor(pid, innkeeper, "A tired man") end

SetActorNameplateFor · the NPC actors group of the index