Skip to content

SetName

Realm: SERVER (supported usage).

actor:SetName(name)

Sets the actor name string; nil leaves it unchanged. Regular server sync propagates it.

Source: lua/background_npcs_core/actor/sh_actor.lua.

Realm reference.