Skip to content

SetActorLook

Gives an NPC actor a look.

The same as SetPlayerLook for an actor of CreateActor: the parts replace its soul’s own on every client that sees it, at once and for every newcomer (a change between a man’s body and a woman’s makes the body anew). false and the reason when a part will not do, or the entity is no actor.

SetActorLook(id, look)
Parameter Type
id number the actor
look table | string {body, head, hair, beard, gender}, or its one-line form

boolean, string | nil - true, or false and the reason

local barber = CreateActor("", 1280.5, 1090.2, 26.0, 180, "Barber")
SetActorLook(barber, {hair = "m_hair_barber_03", beard = "UC_beard_barber_02"})

GetActorLook · SetPlayerLook · CreateActor · the Looks and character creation group of the index