SetActorColor
The color of an actor’s label.
0xRRGGBBAA, like SetPlayerColor; 0 puts the default back (the game’s gold).
Syntax
Section titled “Syntax”SetActorColor(id, color)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
color |
number | 0xRRGGBBAA; 0 = the default |
Returns
Section titled “Returns”boolean - false for anything but an actor
Example
Section titled “Example”-- the bandits in red, the watch in blueSetActorColor(bandit, 0xE04040FF)SetActorColor(watchman, 0x4080FFFF)See also
Section titled “See also”GetActorColor · SetActorNameplate · SetPlayerColor · the NPC actors group of the index
