Amon_PRC8/_module/nss/rall_xplode_ches.nss

21 lines
463 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = GetObjectByTag("rall_chest_plot");
int nInt;
nInt = GetObjectType(oTarget);
if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M), oTarget);
else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M), GetLocation(oTarget));
oTarget = GetObjectByTag("rall_chest_plot");
DestroyObject(oTarget, 3.0);
}