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