i have a time system and i want my character to sleep, but when they sleep i want time to pass. Not sure how to do it but if anyone could help i'd be ever so happy. (i used the system driftwood gaming and SumRndmDde used not sure if it makes much of a difference though)
How do I make my character sleep?
RPG Maker MV Supportthat depends on what time system you have - please link to it.
Basically in the event that handles the sleep, you'll have to change the time with event commands. and how that is done depends on the time system used.
Basically in the event that handles the sleep, you'll have to change the time with event commands. and how that is done depends on the time system used.
"How do I...?" questions belong in the Support forum for the engine you are using. So, based on the info under your avatar...
I've moved this thread to RPGMaker MV Support. Please be sure to post your threads in the correct forum next time. Thank you.
I've moved this thread to RPGMaker MV Support. Please be sure to post your threads in the correct forum next time. Thank you.
the basic idea is that you just call the script/plugin command of your time system that allows modification of the time (which depends on which time system you are using), or if it's a system that purely uses a common event and variables, just modify the time variable.
try this via eventing...-or- in a plug command (but i suggest eventing)
in the inn/sleep event before the fade in command add
>variable[hours]+ 1-10 or 1-8..
you can use a common event to control variables like 24=1 day and etc....
in the inn/sleep event before the fade in command add
>variable[hours]+ 1-10 or 1-8..
you can use a common event to control variables like 24=1 day and etc....
common event example:
>wait 60 frames (1 sec)
>variable[sec]+1
>if var sec=59
>var sec=1
>var minute=1
>if min = 59
>if hour=24
>if ,if,if,if
create a second com event
>if variable hour=10-17
>change screen color tone to day...
and etc..
hope i helped...
>wait 60 frames (1 sec)
>variable[sec]+1
>if var sec=59
>var sec=1
>var minute=1
>if min = 59
>if hour=24
>if ,if,if,if
create a second com event
>if variable hour=10-17
>change screen color tone to day...
and etc..
hope i helped...
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-my-character-sleep.73059/