Skip to content

SetActorColor

The color of an actor’s label.

0xRRGGBBAA, like SetPlayerColor; 0 puts the default back (the game’s gold).

SetActorColor(id, color)
Parameter Type
id number the actor
color number 0xRRGGBBAA; 0 = the default

boolean - false for anything but an actor

-- the bandits in red, the watch in blue
SetActorColor(bandit, 0xE04040FF)
SetActorColor(watchman, 0x4080FFFF)

GetActorColor · SetActorNameplate · SetPlayerColor · the NPC actors group of the index