Dead Deer
Zephirius
Member Posts: 419
For the life of me, I can't get this deer to f***ing die permanently! I just want a perfectly good corpse that's not destroyed OnSpawn.
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
effect eFreeze = EffectCutsceneParalyze();
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eFreeze, OBJECT_SELF);
effect eDeath = EffectDeath();
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eDeath, OBJECT_SELF));
Help... I'm going nutZ on this one. It was working at one time, but I've since messed it up, and can't seem to remeber how I did it...
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
effect eFreeze = EffectCutsceneParalyze();
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eFreeze, OBJECT_SELF);
effect eDeath = EffectDeath();
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eDeath, OBJECT_SELF));
Help... I'm going nutZ on this one. It was working at one time, but I've since messed it up, and can't seem to remeber how I did it...
0
Comments
Ensure that the plot flag is not set in the template.
Put it OnSpawn
#include "x0_i0_corpses"