Battledale_PRC8/_module/nss/sc_fx_dst_puff.nss

13 lines
348 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_SMOKE_PUFF);
ApplyEffectAtLocation (DURATION_TYPE_INSTANT, eFlash, lTargetLoc);
DestroyObject(oMyTarget, 0.35);
}