If akTarget.GetCurrentScene() != None
will work to tell me if an actor is being resurrected.
I tired doing this:
if (me.isdead()) && (me.HasMagicEffectWithKeyword(MagicSummonUndead) || me.HasEffectKeyword(MagicSummonUndead)); && me.IsCommandedActor() == 0Debug. messagebox("OH NO! I am being brought back to life!")endif
But it would not work every time in the situation I was using it. ANYWAY what my question is.... what is EXACTLY is GetCurrentScene() ?
Why would it be "more" than NONE while the actor is being resurrected? I can easily guess it is some action or animation detection of some kind but would anyone KNOW for sure about this? Wiki page for this function did not really explain this.