#include "nw_i0_generic" /* Script generated by Lilac Soul's NWN Script Generator, v. 1.2 For download info, please visit: http://www.angelfire.com/space/lilacsoul */ //Put this OnDeath void main() { object oPC = GetLastKiller(); if (!GetIsPC(oPC)) return; object oTarget; object oSpawn; oTarget = GetWaypointByTag("wp_enter_tmking"); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "thunderlord001", GetLocation(oTarget)); oTarget = oSpawn; SetIsTemporaryEnemy(oPC, oTarget); AssignCommand(oTarget, ActionAttack(oPC)); AssignCommand(oTarget, DetermineCombatRound(oPC)); oTarget = oSpawn; ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMON_CELESTIAL), GetLocation(oTarget)); }