Hey guys.
I am currently making a mod that has a scripted battle in it. I have finnished the battle and all that, but I was wondering if someone could tell me how to Enable an intially disabled NPC after the NPC's I am fighting in the battle are dead? I want to use the enabled NPC as a messanger to talk to me after the battle.
Cheers,
Shadowform.
You could attach a script to both fighters with an
OnDeath block that enables the messenger NPC. Something like:
scn MessengerEnableScript01Begin OnDeath If OtherFighterRef.GetDead == 1 MessengerNPCRef.Enable EndifEnd
Attach a similar script to the other fighter so that, no matter which order they die in, the messenger will be enabled after the second one dies.