how do I take player to sleep on bed?

I know, i've made a annoyed question. I'm new to use RMMV.


I have no idea what should i do with event to player sleep on bed. Please tell me?
Someone just asked this a couple of days ago.  Do a search - if their question was about Ace, you can follow the same process in MV.
Your question doesn't make sense. What are you trying to do?
So you want to make an event where you make the player/character to sleep on the bed right?


If does, put and event"action trigger" beside the bed where it's content are:


*fade out screen - so the players can't see what are happening.


*teleport - to place the character to a certain place you want.


*fade in - the opposite of fade out.


Hope I got it right and answer your question right.


*Sorry for the bad english*
Take a look at the Inn quick event.  That does a fadeout screen, plays the inn music, and fixes states/hp/mp/etc.  You could probably create an inn quick event, then copy the relevant code onto your bed event.


If you want the player to be able to go "under the blankets", make the sprite the bed sprite from the tileset (you might have to make a second version, or a character sheet, with just the blankets and exclude the pillow), set it to Above Characters and change the trigger to Player Touch.  This means when the player walks onto the same tile, it'll look like they're under the blanket and will do the fade, music, restore stuff.


If you want them to look like they're sleeping, you'll need a second set of character sprites for each actor with their eyes closed.  In your bed event, change all actors to use the 'sleeping' sprite at the start of the event, and at the end, change them all to use the regular sprite again.


And if you have followers turned on, you might want to do a Gather Followers command first, so you don't have the first party member sleeping in the bed and the rest standing in a line watching them.  That's only slightly creepy.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-take-player-to-sleep-on-bed.73132/