Event stay same direction when event page change??

I just want to make when event change to another page (by switch)
and still have same direction as previous page(that have a random direction by random move route).

Sorry, My English isn’t that good.

argh i dont know how to explain this.

as you can see in this video.
When you insert the graphic on both pages, make sure that you select the same direction on each one. For example, if in the first page the sprite is facing down, then the sprite should also face down on the second page. The engine should automatically handle it from there.
can't you just make it multiple pages that trigger based on a variable?
for example
if Variable #89 = 3 an event page where it faces left would be active

if Variable #89 = 1 a page where it faces right

and so on?
can't you just make it multiple pages that trigger based on a variable?
for example
if Variable #89 = 3 an event page where it faces left would be active

if Variable #89 = 1 a page where it faces right

and so on?

As you are wanting to retain the direction of your player during a random movement (if I'm right in saying that), then variables will solve your problem.

i.e The above quote explains what I mean.

Other than that, if you use a conditional branch for a specific direction, it works the same way.

For example
@>Conditional Branch: Player is Facing Right
@>Play SE: 'Move' 80, 100
@>Transfer Player:[001:New Room] (001, 010), None
@>
: Branch end
@>

Just make sure that the switch you are using is checked to 'on' in your event page.
can't you just make it multiple pages that trigger based on a variable?
for example
if Variable #89 = 3 an event page where it faces left would be active

if Variable #89 = 1 a page where it faces right

and so on?

That would require a variable for each event.


Here's what the engine does ... when a page is activated, it makes note of the direction the character is facing on the event tab. Then the event does stuff. When a new page is activated, it checks the direction the character is facing on the new event tab. If that is the same as the direction on the previously-active tab, then it doesn't do any changes - even if the event is no longer facing that direction. If the two tabs have the event facing different directions, then the event will be reset to the new page's direction.

So what Kes said is right - just make sure the character is facing the same direction on both pages.

Original thread: https://forums.rpgmakerweb.com/threads/event-stay-same-direction-when-event-page-change.74483/