#include "nw_i0_tool" /* 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 oTarget; oTarget = GetObjectByTag("it_InqCatapult"); ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M), GetLocation(oTarget)); oTarget = GetObjectByTag("catapult_o"); DestroyObject(oTarget, 3.0); object oPC = GetLastKiller(); if (!GetIsPC(oPC)) return; RewardPartyXP(50, oPC, TRUE); }