Jump to content

[LE] Conditional Spawning


Aorris

Recommended Posts

So I'm sure there's a tutorial already out there for this, but I can't seem to locate it or I'm not searching for the right keywords.

 

The mod I'm working on now adds some characters to the Dark Brotherhood, but I don't want them to spawn in until after I complete the Dark Brotherhood quests.

 

Is there any way to make an NPC spawn in conditionally only after X quest has been completed. In this case, I would like the Vanilla quest Where You Hang Your Enemy's Head to cause my new npcs to spawn in upon completion, but not before.

 

Which also makes me wonder, is there a way to trigger an NPC deletion upon completion of a quest.

 

Can conditional spawning be set for objects as well?

Link to comment
Share on other sites

I believe, in general, the solution is to set a marker as an Enable Parent of the NPC references, and then have your quest or whatever enable/disable that marker. This method will also work for other objects (e.g. it's how houses are upgraded). Another option is to have their spawn location be some hidden storage cell, and then use a move-to command to bring them into the game world.

Edited by foamyesque
Link to comment
Share on other sites

  • Recently Browsing   0 members

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