Jump to content

player sleep interruption


tonycubed2

Recommended Posts

Greetings,

 

I found the ck commands for sleep start and sleep finish, even a function for seeing how long a player has slept. But nowhere can I find a way to wake him up bofore the time is up. In my mod Danger Danger I want to cause random encounters when a player is sleeping in the wilds. We had this for Oblivion. Say, a 20 percent chance of bandits attacking, something like that.

 

A work around I though of is using the endsleep event to insert my script there, then resetting time a few hours to make it look like the sleep was interrupted. But could not find any way to set the time to a past time.

 

 

Tonycubed2

Link to comment
Share on other sites

  • Recently Browsing   0 members

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