Jump to content

Bosses and Dungeons - Some technical infos you may need to know about non-unique NPCs


MannyGT

Recommended Posts

Hi to all.
I am the author of The Notice Board mod and I ported it to SE version.
One of the quest which I made was "Escaped Criminal". This quest is to catch a bandit leader instead of killing him and bring him back to the jail.
The Notice Board was released time ago for Skyrim Standard Edition too however many people have reported that the dungeon where the bandit leader was, never respawns.
So I coded again the script to allow the respawn.
There is a thing you must consider:
The NPC with Loc RefType 'BOSS' must never leave the dungeon because the Skyrim Engine fails to respawn.
Original Notice Board had the code deleteWhenAble() to the BOSS after you escorted him to the jail and got the reward from the stewart. This was the cause of never respawning cell. Even if you kill (or get killed) outside his location.
The new code was to move him back to his own editor location, killing him and setting the SetCriticalStage.
This is what you should do because the boss respawns as usual after 30 days, however the "Cleared" tag never goes away.
Tonight I'll do another attempt:-
- An alias NPC Boss created at the same position of already boss existing instead of referencing him.
- Temporarely disable the original Boss during the quest
- At quest ending: enable the boss, kill him (used to automatically set "Cleared" the dungeon) and doing SetCriticalStage
This should be fine.

The conclusion is: make sure to never move a NPC with Loc RefType and kill him outside his editor location.

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...