#include "nw_i0_tool" void main() { object oPC = GetPCSpeaker(); RewardPartyXP(150, oPC, FALSE); RewardPartyGP(300, oPC, FALSE); object oTarget; oTarget = GetObjectByTag("Syclya1"); //Visual effects can't be applied to waypoints, so if it is a WP //the VFX will be applied to the WP's location instead int nInt; nInt = GetObjectType(oTarget); if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUNBEAM), oTarget); else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUNBEAM), GetLocation(oTarget)); DestroyObject(oTarget, 3.0); }