Horror chase system like in Ai oni

Hello is rare i ask for help but i build a horror game and i Wonder of how to create a demon who ''chase '' you and spawn randomly?

Sorry i don't have exemple to show but is a blue demon who chase you i think is a event but i don't know how to trigger it....

thank you if you can help me...
make an event, have it use the graphic that you want, go to autonomous movement, set to route, make it use Go towards player
and for make it ''appear '' randomly?
you can make it use a switch, then have a parallel process event that waits for a few frames, checks a random number for chance, then if the number is within the chance that you want, set switch to on
Ho okai sankyou!

Original thread: https://forums.rpgmakerweb.com/threads/horror-chase-system-like-in-ai-oni.23624/