GetColor
From NWN Lexicon
Jump to navigationJump to searchGetColor(object, int)
Gets the color assigned to the specified color channel.
Parameters
oObject
The object from which you are obtaining the color.
nColorChannel
The COLOR_CHANNEL_* that you want to get the color value of.
Description
Gets the color assigned to the specified color channel.
Returns -1 on error.
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.
Version
1.69
See Also
functions: | |
constants: | |
other: |
author: Mistress, contributor: Cereborn