void main() { if(GetTag(GetArea(OBJECT_SELF)) == "ba2_reislad") { object oPedestal = GetObjectByTag("ba2_slaprice"); object oDead = GetLastDamager(OBJECT_SELF); effect eDing = EffectVisualEffect(VFX_IMP_PULSE_NEGATIVE); SetPlotFlag(oPedestal, 0); SetLocalInt(oPedestal, "DEATH", 1); SpeakString("Curse you! You will die with me!"); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), oDead); ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal); DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal)); DelayCommand(2.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal)); DelayCommand(3.0, ApplyEffectToObject(DURATION_TYPE_INSTANT, eDing, oPedestal)); } }