Battledale_PRC8/_module/nss/sc_fx_dst_gas1.nss

14 lines
357 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_GAS_EXPLOSION_FIRE);
ApplyEffectAtLocation (DURATION_TYPE_INSTANT, eFlash, lTargetLoc);
DestroyObject(oMyTarget, 0.25);
}