/* Script generated by Lilac Soul's NWN Script Generator, v. 1.6 For download info, please visit: http://www.lilacsoul.revility.com */ //Put this OnUsed void main() { object oMod = GetModule(); object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; int oS1 = GetLocalInt(oMod, "sw_hw"); int oS2 = GetLocalInt(oMod, "sw_dr"); int oS3 = GetLocalInt(oMod, "sw_bl"); int oS4 = GetLocalInt(oMod, "sw_pf"); int oS5 = GetLocalInt(oMod, "sw_df"); int oS6 = GetLocalInt(oMod, "sw_pm"); int oS7 = GetLocalInt(oMod, "sw_bm"); int oS8 = GetLocalInt(oMod, "sw_lm"); int oS9 = GetLocalInt(oMod, "sw_ll"); int oS10 = GetLocalInt(oMod, "sw_xx"); int nInt = GetLocalInt(oMod, "challenge"); int nInt2 = GetLocalInt(oMod, "duel_on"); int oChest = GetLocalInt(oMod, "chest_here"); int oGameMode = GetLocalInt(oMod, "gamemode"); int oModMode = GetLocalInt(oMod, "mod_mode"); object oMonster; if (oModMode!=1) { if (oChest!=1) { if ((nInt!=1)&&(nInt2!=1)&&(oS1!=1)&&(oS2!=1)&&(oS3!=1) &&(oS4!=1)&&(oS5!=1)&&(oS6!=1)&&(oS7!=1)&&(oS8!=1) &&(oS9!=1)&&(oS10!=1)) { if (oGameMode==1) { AssignCommand(OBJECT_SELF, ActionStartConversation(oPC, "spawner3")); } else { AssignCommand(OBJECT_SELF, ActionStartConversation(oPC, "spawner")); } } else { if (nInt==1) { PlaySound("sim_cntresist"); FloatingTextStringOnCreature("You must finish the super challenge first.", oPC); } else if (nInt2==1) { PlaySound("sim_cntresist"); FloatingTextStringOnCreature("You must finish your duel first.", oPC); } else { PlaySound("sim_cntresist"); FloatingTextStringOnCreature("You must finish your battle first.", oPC); } } } else { PlaySound("sim_cntresist"); FloatingTextStringOnCreature("You must open the reward chest first.", oPC); } } else { PlaySound("sim_cntresist"); FloatingTextStringOnCreature("Arena challenges are unavalible in campaign manager mode.", oPC); } } /* if ((nInt!=1)&&(nInt2!=1)&&(oS1!=1)&&(oS2!=1)&&(oS3!=1) &&(oS4!=1)&&(oS5!=1)&&(oS6!=1)&&(oS7!=1)&&(oS8!=1) &&(oS9!=1)&&(oS10!=1)) {