Wanting to put a script on a creature’s death event that will resurrect all dead players in the same area.
I know I need to do a check for all the players in the area, but how would you check if they are dead? By HP = 0? and then apply the effect if they are dead?
eEffect = SupernaturalEffect(EffectResurrection());
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oPC);