SetColor
From NWN Lexicon
Contents |
[edit] SetColor(object, int, int)
Sets the color for the specified color channel.
[edit] Parameters
oObject
The object affected.
nColorChannel
The COLOR_CHANNEL_* that you want to set the color value of.
nColorValue
The color you want to set (0-175).
[edit] Description
Sets the color for the given object's specified color channel.
[edit] Remarks
oObject must be a creature that has been assigned a model that has changeable color channels, such as those used for the playable races.
nColorChannel can be any of the following channels: COLOR_CHANNEL_SKIN, COLOR_CHANNEL_HAIR, COLOR_CHANNEL_TATTOO_1, COLOR_CHANNEL_TATTOO_2.
For help selecting nColorValue, look at this simple visual guide of the color choices.
[edit] Version
1.69
[edit] See Also
functions: | |
constants: | |
other: |
author: Mistress, contributor: Cereborn