Battledale_PRC8/_module/nss/sc_fx_dst_sunbm.nss

13 lines
344 B
Plaintext
Raw Permalink Normal View History

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