/* Script generated by Lilac Soul's NWN Script Generator, v. 1.6 For download info, please visit: http://www.lilacsoul.revility.com */ //Put this OnDeath void main() { ExecuteScript("pwfxp",OBJECT_SELF); object oPC = GetLastKiller(); while (GetIsObjectValid(GetMaster(oPC))) { oPC=GetMaster(oPC); } if (!GetIsPC(oPC)) return; object oTarget; object oSpawn; location lTarget; oTarget = GetWaypointByTag("ke_wurmvagt"); lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "wyrmling_blu003", lTarget); }