Jump to content

[LE] 24 hours between quest stages.


Kyman3

Recommended Posts

Hello, I would like to be able to freeze a quest from progressing to the next stage until 24 in game hours have past, but currently have no idea how that is done. I have my stages set up but don't know what sort of commands I would need or whether to put them in the Stage's papyrus fragment box, a dialogue fragment, or if I need some kind of Alias. Any advice or links to relevant tutorials would be greatly appreciated, thanks in advance!

Link to comment
Share on other sites

As it stands quest stages don't auto set themselves (except for the initial startup or shutdown flagged stages). So all you would need to do is make sure that whatever calls the SetStage() to progress it checks game time to make sure it has progressed.

 

One way of doing this is typically done is with an NPC that says "wait a day" then sets an update timer. Then have the OnUpdate event change a global that can be used as a condition on further dialogue that then progresses the stages. The Mirai mod uses this system for the 3 day wait for the wedding ceremony. When you trigger the start it sets a global variable to 1. Upon the finish of the 72hr timer it sets it to 2. The condition for the dialogue to proceed after the 72hr wait uses the GetGlobalVariable == 2.0 condition. And then a fragment on the dialogue topic calls a further SetStage() to progress the quest.

 

Edit: If you're trying to use trigger boxes or something to auto progress things, that can be done as well. But you'll need to do a check against the game globals. I don't recall which ones off the top of my head though.

Edited by BigAndFlabby
Link to comment
Share on other sites

Also if you not too concerned about the number of hours waited you can do a stage set based on a player sleeping.

 

Useful for those 'come back tomorrow' moments in quests.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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