NWNDS/nwnds_module/ar_d0_headsetup.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

22 lines
522 B
Plaintext

void main()
{
object oModel = OBJECT_SELF;
object oPC = GetPCSpeaker();
int nPCAppearance = GetAppearanceType(oPC);
int nPCSex= GetGender(oPC);
int nModelSex =GetGender(OBJECT_SELF);
if(nPCSex != nModelSex)
{
string sErrorText = "Please speak with the other visage.";
FloatingTextStringOnCreature(sErrorText, oModel);
FloatingTextStringOnCreature(sErrorText, oModel);
SendMessageToPC(oPC,sErrorText);
return;
}
SetCreatureAppearanceType(oModel,nPCAppearance);
}