Jump to content

Script help change game hour time when door is used.


Corpsehatch

Recommended Posts

Working on a mod that needs some way of changing the current game hour. When the player uses a load door I want to be able to add 3 hours to the time in game. So if it where 12p it would be 3p after using the door. If only scripting could use console commands because SetPCSleepHours would be perfect. Thanks.
Link to comment
Share on other sites

Try something like this.

 

float newTime = GameHour.Mod(3.0)

 

You will also need to define a property in your script/quest:

 

GlobalVariable Property GameHour auto

 

Edit: updated the name of the global variable to "GameHour", which is the correct one for Skyrim.

Edited by steve40
Link to comment
Share on other sites

  • Recently Browsing   0 members

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