My chase event doesn't work

I tried to make an event where the monster pops up at random, like in ao oni, it works once but after that it just keeps standing in a corner instead of coming through a door.

I've included screenshots of the switches, variables and (common) events.
I have no idea what ao oni is, so unless you only want help from people who have played that, you should probably actually describe what is meant to happen.

I see quite a few odd things in your events, but again not knowing what you're trying to achieve I don't know if they're right or wrong.

A parallel process should not have a loop - they loop by default. Therefore Break Loop has no meaning as it will just start all over again.

When you say "it works once", are you getting the gameover screen? Are you then having to reload your game and try it again? You have erased the parallel process event after the first time, so if you're still on the same map, that event is no longer running anymore.
Ao Oni is a game in which a monster chases you through a house, he always appears on the map the same tile you appeared on when entering the map. After chasing you for a certain amount of time, he will not follow you out of the room anymore and despawn.


I tried removing the loop, still he only appears once to chase me, after he's just stuck in the corner.
The common event now looks like this.scrn6.png

I have 3 events in that room, one to start making him spawn, one to handle the cooldown and transfer to the X and Y coordinates of when the player entered the map, and one for the simple touch = game over.

Here's him standing in the corner:
1611925406957.png


I followed this tutorial, if that helps:


I apologize for any spelling or grammatical errors, English isn't my first language.
Thank you for your help, I appreciate it a great deal.
What is the passability setting on that doll tile? It looks like it is set to X and he is getting stuck on it.
They were impassible, set them all to passable but still he only appears from the door the first time.
Okay, so, the first time you go in the room, it appears in the doorway as it should. But the next time you go in, it appears in the corner? Is it already showing when you walk in or does it "pop up" in that corner?
It is already present in the room when I enter the second time.
So I'm doomed..?
why do you have two different setup events, one that erases itself and one that switches itself to a second page?
and what is on that second page anyway?
This might be a poor answer, but because I am out of my depth here and that is what the tutorial said I should do.

As I understood it the first event is needed to make the spawn monster initially, after that only two events are needed, one for the cooldown period and one to make the monster appear again, that one that erases itself and the one that is set to event touch = game over, respectively.

Thank you in advance for any help, I really appreciate it.

I assume you're referring to event ID:003(screenshot below), the self switch turns of this event.
scrn3.png
scrn3.5.png
the self switch turns of this event.
no, the self-switch does not turn the event off, it turns it to another parallel event.
"turning off" needs to be done to an action button trigger
parallel trigger with no content will cause lag and nothing else.

that is what the tutorial said I should do.
then the tutorial is needlessly convoluted. Which is also why your events are that confusing.
you should only need three events in total: the initalisation event (which should erase itself), the enemy event and the timer event.

unfortunately I don't have the time now to tell you how to structure it better...
unfortunately I don't have the time now to tell you how to structure it better...
Oh I see, that is unfortunate, thank you for the information you have given me, I will try to fix it on my own then, unless of course someone else has the time to help.

I have some ideas now I could at least try.

I am very grateful for the info you've given me, and should you be able and willing to help in the future I am all ears.
[bump]@omnaeon[/bump]

Original thread: https://forums.rpgmakerweb.com/threads/my-chase-event-doesnt-work.132767/