how to force time of day passed?

Post » Thu Jun 21, 2012 1:21 pm

how t force time passed on triggers or sleep or something ?
User avatar
Ellie English
 
Posts: 3457
Joined: Tue Jul 11, 2006 4:47 pm

Post » Thu Jun 21, 2012 3:52 pm

Any sugestions?
User avatar
Damien Mulvenna
 
Posts: 3498
Joined: Wed Jun 27, 2007 3:33 pm

Post » Thu Jun 21, 2012 2:11 pm

I could only find waitgametime function or
WaitGameTime but it says is latent , wich means?

how can I do to force a specific time of days passed or hours when a player goes sleep and then wakes up?
User avatar
Stat Wrecker
 
Posts: 3511
Joined: Mon Sep 24, 2007 6:14 am

Post » Thu Jun 21, 2012 8:36 am

what comes to my mind is the jail bed thing .....

also found this but it doesn't explains how to use ...

http://www.creationkit.com/ServeTime_-_Game
User avatar
Scotties Hottie
 
Posts: 3406
Joined: Thu Jun 08, 2006 1:40 am

Post » Thu Jun 21, 2012 7:39 pm

Another Idea is instead if all this is not possible at all ....

to register game time at the moment of quest stage start .... set a game time like for example + 24 and when the player will sleep for 24 hours and the time will match bwich a check for get game time >= x then the stage goes on with the next otherwise it could stay still there but ... no tidea how to manage that ....


actually this solution is eben better than a forced time spent ... so the player can decide if to spend all time to travel or wait , do some stuff and then wait again ...
User avatar
Trevi
 
Posts: 3404
Joined: Fri Apr 06, 2007 8:26 pm

Post » Thu Jun 21, 2012 7:53 pm

What the wiki means by "latent" is basically that it will cause the script to wait until it returns, and it will not return until that amount of time has passed. Latent "wait" functions like that tell a script to wait; they do not affect the passing of time in-game.

I know http://www.creationkit.com/SetPCSleepHours still exists as a console function, at least, but I'm not sure if any native Papyrus functions are available with this sort of function.

Cipscis
User avatar
Jamie Lee
 
Posts: 3415
Joined: Sun Jun 17, 2007 9:15 am

Post » Thu Jun 21, 2012 9:01 pm

Force the player to fast travel to and back from a lightless location?
User avatar
Rachel Tyson
 
Posts: 3434
Joined: Sat Oct 07, 2006 4:42 pm

Post » Thu Jun 21, 2012 10:16 am

The forced fast travel via script doesn't record time and would imply I thing double loading screens ... I think the best is to set a specific time to pass and let the player reach it by setting his wait/ sleep hours needed .... Is that possible ? If so how I should procede?
User avatar
Len swann
 
Posts: 3466
Joined: Mon Jun 18, 2007 5:02 pm

Post » Thu Jun 21, 2012 8:24 am

There is a Sleep Command, but the wiki states that it (probably) isn't for use on the Player (it does work with NPCs, I tried it).

From all I have read, it is not possible to force time to pass (other than fudges like the Fast Travel one) nor force the player to sleep ...

However, there are some console commands - as mentioned above - that do these jobs ... and so it is possible that SKSE will include such functionality in Papyrus soon (ish), I guess.
User avatar
Ownie Zuliana
 
Posts: 3375
Joined: Thu Jun 15, 2006 4:31 am

Post » Thu Jun 21, 2012 1:25 pm

I don't want to rely on SKSE for making the mod work , I prefer to leave it simplier , so is not possible to just register time of the day and add xxx time to id and let the player decide to wait untill that time is met?
User avatar
Chad Holloway
 
Posts: 3388
Joined: Wed Nov 21, 2007 5:21 am

Post » Thu Jun 21, 2012 9:24 pm

Could you not just use http://www.creationkit.com/GetValue_-_GlobalVariable, add the number of hours that you want to pass to that value, then use http://www.creationkit.com/SetValue_-_GlobalVariable to change the time?
User avatar
herrade
 
Posts: 3469
Joined: Thu Apr 05, 2007 1:09 pm

Post » Thu Jun 21, 2012 4:36 pm

And how u pass the new value to time?
User avatar
Tessa Mullins
 
Posts: 3354
Joined: Mon Oct 22, 2007 5:17 am


Return to V - Skyrim