setcharlight

Script Reference Character

setcharlight (character ; Red ; Green ; Blue ; fade) //Advanced

Used for : Characters.

Parameters :

- character - Name of a character in your game.
- red, green, blue - RGB colorvalue 0-255.
- fade : Optional.

Description :

Changes the coloring of a character. Can be used in Walkmapscripts, for example, to make a character look darker when he enters a shady place. If "fade" is used the color will change smoothly. [Variables] can be used as parameters. "self" can be used to select the currently focused character.