broconutcrab Posted July 27, 2015 Share Posted July 27, 2015 (edited) Is there a way to check how much time has passed in-game with papyrus? I ask because I'm trying to make a courier deliver something to the player after a certain amount of time in-game. Edited July 27, 2015 by broconutcrab Link to comment Share on other sites More sharing options...
KaelVirum Posted July 27, 2015 Share Posted July 27, 2015 (edited) Papyrus has a GetCurrentTime function that I'm sure you could use as a variable at the start of your script, as long as you set your script to run as soon as your mod is active, that you could then call on later with an if conditional. I'm still learning scripting myself so I wouldn't know how to put that together yet, but if you're as new as I am, maybe taking a look at the script for being jailed will yield you some answers as that works the same way you're asking, it seems. Player goes to jail and after a certain amount of time is released. That script could be modified to your purposes, I think. Edited July 27, 2015 by KaelVirum Link to comment Share on other sites More sharing options...
lofgren Posted July 27, 2015 Share Posted July 27, 2015 You can use this function: http://www.creationkit.com/GetCurrentGameTime_-_Utility There is also a global variable that automatically updates with the current game time. Link to comment Share on other sites More sharing options...
Recommended Posts