RoT2_PRC8/_module/nss/cb_ozkill_01.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

21 lines
453 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = GetObjectByTag("q2bpillar2_1");
int nInt;
nInt = GetObjectType(oTarget);
if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DEATH), oTarget);
else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DEATH), GetLocation(oTarget));
oTarget = GetObjectByTag("q2bpillar2_1");
DestroyObject(oTarget, 3.0);
}