Kyman3 Posted March 4, 2018 Share Posted March 4, 2018 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 More sharing options...
JonathanOstrus Posted March 4, 2018 Share Posted March 4, 2018 (edited) 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 March 4, 2018 by BigAndFlabby Link to comment Share on other sites More sharing options...
agerweb Posted March 6, 2018 Share Posted March 6, 2018 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 More sharing options...
Recommended Posts