void main() { object oMySpeaker = GetLastSpeaker(); object oMyTarget = GetLocalObject(oMySpeaker, "dmfx_wandtarget"); //location lTargetLoc = GetLocalLocation(oMySpeaker, "dmfx_wandloc"); //effect eFlash = EffectVisualEffect(VFX_FNF_GAS_EXPLOSION_EVIL); //ApplyEffectAtLocation (DURATION_TYPE_INSTANT, eFlash, lTargetLoc); AdjustAlignment(oMyTarget, ALIGNMENT_LAWFUL, 10); }