Jump to content

[LE] How to spawn an NPC after the player completes a certain quest


Recommended Posts

I'm working on a mod which, among other things, adds a custom Draugr enemy, and I want it to spawn after the player completes Bleak Falls Barrow (or kills the dragon at the western watchtower), since I want it to spawn in the same area as the draugr that has the Dragonstone, and don't want it conflicting with the main quest. Any help?

Link to comment
Share on other sites

I'm working on a mod which, among other things, adds a custom Draugr enemy, and I want it to spawn after the player completes Bleak Falls Barrow (or kills the dragon at the western watchtower), since I want it to spawn in the same area as the draugr that has the Dragonstone, and don't want it conflicting with the main quest. Any help?

 

Put a marker in the cell, and add a script to it that checks to see if BFB is completed every time the cell attaches. Once it is, set it to go to an inactive state so's it stops listening for the event, and disable itself. Set your draugr to use the marker as an enable parent, reversed state.

Link to comment
Share on other sites

You have to teach yourself how to script basic things in Papyrus if you want to accomplish much in the Creation Kit. These tutorials from the wiki cover basic knowledge that most modders on these forums expect you to learn before asking questions - just so you know. To understand foamyesque's answer, you need to know about "enable parent" functionality as well as "Events" and "States" among other things in scripting. He specifically refers to the event OnCellAttach and the function IsCompleted. Happy reading and good luck :smile:

Edited by wormple12
Link to comment
Share on other sites

Is the Draugr being spawned in a cell that the player is already in and close to the player? If not there's a less scripty way of doing it otherwise you'll have to do the above.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...