Files | |
file | nwnx_appearance.nss |
Functions | |
void | NWNX_Appearance_SetOverride (object oPlayer, object oCreature, int nType, int nValue) |
Override a creature's appearance type for a player. More... | |
int | NWNX_Appearance_GetOverride (object oPlayer, object oCreature, int nType) |
Get a creature's appearance type for a player. More... | |
void NWNX_Appearance_SetOverride | ( | object | oPlayer, |
object | oCreature, | ||
int | nType, | ||
int | nValue | ||
) |
Override a creature's appearance type for a player.
oPlayer | The player who will see/hear things differently. |
oCreature | The target creature whose appearance type to alter for oPlayer. Can be a PC. |
nType | The Appearance Type to set or -1 to fully remove override. |
nValue | The new value for the appearance type. |
Definition at line 50 of file nwnx_appearance.nss.
int NWNX_Appearance_GetOverride | ( | object | oPlayer, |
object | oCreature, | ||
int | nType | ||
) |
Get a creature's appearance type for a player.
oPlayer | The player who see/hear things differently. |
oCreature | The target creature whose appearance type is altered for oPlayer. Can be a PC. |
nType | The Appearance Type to get. |
Definition at line 62 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_APPEARANCE = 0 |
APPEARANCE_TYPE_* or -1 to remove.
Definition at line 14 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_GENDER = 1 |
GENDER_* or -1 to remove.
Definition at line 15 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_HITPOINTS = 2 |
0-GetMaxHitPoints(oCreature) or -1 to remove
Definition at line 19 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_HAIR_COLOR = 3 |
0-175 or -1 to remove
Definition at line 20 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_SKIN_COLOR = 4 |
0-175 or -1 to remove
Definition at line 21 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_PHENOTYPE = 5 |
PHENOTYPE_* or -1 to remove.
Definition at line 22 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_HEAD_TYPE = 6 |
0-? or -1 to remove
Definition at line 23 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_SOUNDSET = 7 |
See soundset.2da or -1 to remove.
Definition at line 24 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_TAIL_TYPE = 8 |
CREATURE_TAIL_TYPE_* or see tailmodel.2da, -1 to remove.
Definition at line 25 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_WING_TYPE = 9 |
CREATURE_WING_TYPE_* or see wingmodel.2da, -1 to remove.
Definition at line 26 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_FOOTSTEP_SOUND = 10 |
0-17 or see footstepsounds.2da, -1 to remove
Definition at line 27 of file nwnx_appearance.nss.
const int NWNX_APPEARANCE_TYPE_PORTRAIT = 11 |
See portraits.2da, -1 to remove.
Definition at line 31 of file nwnx_appearance.nss.