Moving characters (events) outside of view and then back

1780599728956.png

Everything will wander about the above put image.

When the player enters the room for the very first time, I want an event to play:
- The player walks forward a few steps slowly, then stops and looks around. (Likely with Set movement route? How do I make it play immediately after the player enters the room, and only make it play once, and never again?)
- A character walks from outside the viewport (from the bottom, one block further down) into the view, opens the chest above, says a few things, and then walks back down outside the view. (I do not have this part, and I haven't figured it out. Something with switches and self switches perhaps, especially to only make this event play once when walking into the room?)
- The events at the bottom, e.g. where the character walks back down, also move the player into another room, so they still need to be accessible later.

I really have no clue as to how to do this, since I've also not worked in this engine for a few months by now. I've tried looking around the forums for this, but I'm probably quoting my problem wrong, hence my search not returning any results and, here I am.
- The player walks forward a few steps slowly, then stops and looks around. (Likely with Set movement route? How do I make it play immediately after the player enters the room, and only make it play once, and never again?)
Set the event to autoplay. At the end of the event turn on self switch A. Make a second event page that's empty and set the condition to self switch A.
- A character walks from outside the viewport (from the bottom, one block further down) into the view, opens the chest above, says a few things, and then walks back down outside the view. (I do not have this part, and I haven't figured it out. Something with switches and self switches perhaps, especially to only make this event play once when walking into the room?)
What's the question here? It's basically the same procedure. As a general tip: For "cutscenes" like this, always use a so called controller event. One that handles all the movement and timing of the scene in question instead of placing the commands in multiple different events.

If that's not enough to clue you in, you need to be more specific as to what the actual problem is other than "I can't figure it out".
Set the event to autoplay. At the end of the event turn on self switch A. Make a second event page that's empty and set the condition to self switch A.

What's the question here? It's basically the same procedure. As a general tip: For "cutscenes" like this, always use a so called controller event. One that handles all the movement and timing of the scene in question instead of placing the commands in multiple different events.

If that's not enough to clue you in, you need to be more specific as to what the actual problem is other than "I can't figure it out".
The question in the second part is that I want the character (not the player) to move in the view into the scene, and then out of it, without increasing the size of the room in any way and editing what's visible to the player.

1780602006596.png

Imagine the red cross is the character. It moves up onto the scene, does something, then moves out of the scene similarly.

This would make it look more realistic than the character just appearing in the scene using transparency controls.

The controller event is a great thing that I completely forgot about that I can do, so thanks for that!
The question in the second part is that I want the character (not the player) to move in the view into the scene, and then out of it, without increasing the size of the room in any way and editing what's visible to the player.

View attachment 367526
Imagine the red cross is the character. It moves up onto the scene, does something, then moves out of the scene similarly.

This would make it look more realistic than the character just appearing in the scene using transparency controls.

The controller event is a great thing that I completely forgot about that I can do, so thanks for that!
You can not put a character in a place that doesn't exist. So unless you expand your map 1 more row at the bottom, which is like no effort whatsoever, you can only have him pop into existence as you described.
An event cannot be placed on a tile that does not exist.
you can hide it on a tile (for example with a star-tiled black tile), but only if the tile exists.

if you do not want to increase the map size, then you'll need to place the event somewhere else and "set event location" to the entry tile itself, making the event suddenly appear there.

keep in mind that the new event needs to be 'through' to pass over other events.
An event cannot be placed on a tile that does not exist.
you can hide it on a tile (for example with a star-tiled black tile), but only if the tile exists.

if you do not want to increase the map size, then you'll need to place the event somewhere else and "set event location" to the entry tile itself, making the event suddenly appear there.

keep in mind that the new event needs to be 'through' to pass over other events.
Well, that will still make it just "pop up" tho. The only way to have it actually walk into view, is by expanding the map. (Or by moving the scene further up, so the entrance isn't actually in view perhaps) Not sure why that would be any sort of issue tho.
You can place an event out of bounds with a script call.
It'll do the same as "Set Event Location", but you can enter coordinates outside of the map.

So, if your map coordinates down there are like 14,20, use 14,21.

Code:
$gameMap.event(xx).locate(14,21);

xx has to be the event number.
After that, having a move route moving "up", it will walk into the screen.

Make sure to set the event option to "through", otherwise it won't be able to move, as the boundaries aren't passable.
You can place an event out of bounds with a script call.
It'll do the same as "Set Event Location", but you can enter coordinates outside of the map.

So, if your map coordinates down there are like 14,20, use 14,21.

Code:
$gameMap.event(xx).locate(14,21);

xx has to be the event number.
After that, having a move route moving "up", it will walk into the screen.

Make sure to set the event option to "through", otherwise it won't be able to move, as the boundaries aren't passable.
Huh, that actually works. Interesting. Guess that would solve OP's problem then.
You can place an event out of bounds with a script call.
It'll do the same as "Set Event Location", but you can enter coordinates outside of the map.

So, if your map coordinates down there are like 14,20, use 14,21.

Code:
$gameMap.event(xx).locate(14,21);
You can also do this in a move route script call. In that case it would look like this.locate(13,21). You don't need the event ID in this case, as that's determined by the move route itself.

Original thread: https://forums.rpgmakerweb.com/threads/moving-characters-events-outside-of-view-and-then-back.183913/