Jump to content

Change the date with a script?


Recommended Posts

Good afternoon everybody!

 

Is there a way to change the current date (day, month, year like it is displayed in the pipboy) with a script?

 

I already looked on the CK wiki but I couldn't find anything about setting the date.

There only seems to be a function for getting the current date.

 

 

Why I want to do this:

I am working on a custom worldspace with some quests that is set before the "great war".

Link to comment
Share on other sites

Hey, to change the date you can set the GameDay, GameMonth and GameYear global variables. But, this will probably mess up the day of the week. You can fix this by advancing the GameHour global variable as well, in 24 hour chunks. In my mod Super Fast Input Wait Menu for Skyrim, there's a set date option and the source code is provided if you want to check it out.

 

https://www.nexusmods.com/skyrimspecialedition/mods/32313?tab=description

Link to comment
Share on other sites

Hey, to change the date you can set the GameDay, GameMonth and GameYear global variables. But, this will probably mess up the day of the week. You can fix this by advancing the GameHour global variable as well, in 24 hour chunks. In my mod Super Fast Input Wait Menu for Skyrim, there's a set date option and the source code is provided if you want to check it out.

 

https://www.nexusmods.com/skyrimspecialedition/mods/32313?tab=description

Thanks!

I will try that!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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