/* Script generated by Lilac Soul's NWN Script Generator, v. 2.2 For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */ void main() { object oPC; if (GetIsObjectValid(GetItemActivatedTarget()) ){ SendMessageToPC(GetItemActivator(), "Improper use of item!"); return;} oPC = GetItemActivator(); object oTarget; oTarget = GetAssociate(ASSOCIATE_TYPE_SUMMONED, oPC); if (GetIsObjectValid(oTarget)) RemoveSummonedAssociate(oPC, oTarget); if (GetIsObjectValid(oTarget)) DestroyObject(oTarget); effect eEffect; eEffect = EffectSummonCreature("magmalord2"); ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oPC, 3600.0); }