Event Touch not functioning

Hello, sorry if this is a commonly-asked question but I couldn't find it previously asked on the forum.


Basically, the Event Touch trigger for my events isn't working correctly - When approaching a player, instead of colliding and triggering the event in question, it just sort of hangs there awkwardly, only triggering if the player moves against the event, as would be the case with the Player Touch trigger. This means that, say, a guard who chases down the player in order to attack them will just halt and stand there awkwardly if the player stays still, and indeed will keep following behind at the player's pace so long as you don't directly walk into them.


It's really frustrating because it's utterly game-breaking - Imagine if Ao Oni consisted of the demon racing toward the player, then standing around awkwardly behind them, breathing down the back of their neck like an unwanted extra party member. I've tried using 'Through', but it makes no difference, they just refuse to collide with the player.


The movement I've been using is Approach, although I've also tried using Custom to Move Toward Player on loop. Really need to know how to fix this.


Thank you.
Please post a screenshot of the page of the event that has problems, and list the scripts you have installed.


This can only happen if either you broke the game engine with a script or if you made the event in a wrong way, and we can only help you find where you made a mistake when you show us what you did.
Is your event's priority set to Same as Characters?
Enclosed is a screenshot of the event page in question.


Priority is set to Same as Characters, but I've tried Above and Below before - In these cases, it moves under or over the player, but still only activates if the player moves. At this point however, I could just be satisfied with that if I've broken the game or something, as it's technically a very small part of this current project, and fundamentally it fills the same role, as a player will trigger it as soon as they move.


The script I have installed is 'Khas Awesome Light Effects'.


There was an additional movement-related script I used beforehand, but I deleted it from the game files.


Thank you for the prompt responses.


Bug 1.png
please provide a screenshot of the second event page as that has a higher priority.


How did you delete the other movement script? Because if you made a mistake there, that script might still be active.


Especially, check all "empty" script slots if there is a script there that you forgot to name


Have you tested this with starting a new game, or loading a saved file?
I deleted the previous movement script by selecting it and pressing DEL on the keyboard.


I've also searched the relevant script files and there's no sign of it.


Regardless, having tested a New Game, I've found that the issue is resolved - So to solve this dilemma, I suppose could simply create a new game and relocate the current game files into it. Thank you for the help.
that is not what I meant - new game is the option on the title menu, and you probably have confused that with new project in the editor.


If a new project works, then there is something still wrong in your scripts - something you changed and forgot.
Oh, my mistake. But yes, starting a new game doesn't fix the issue, so I think it is something hidden in the scripts that I've forgotten about.


Thank you for the assistance, it's good to know it isn't me just running events incorrectly.


This thread can probably be closed now.
Well, not really - until you know what's caused it and have fixed it, otherwise you don't know when it's going to pop up again.


Did you go through all your scripts, as Andar suggested, particularly looking at the unnamed slots, to see if anything's in there?
Sorry to necropost, but I solved the issue.


Turns out, Event Touch doesn't function correctly if Direction Fix is on.


I'm posting this fix in case anyone else runs into the same problem.


Thank you for the help, it was extremely useful.
Event Touch requires either the player to touch the event (same as Player Touch), or for the event to touch the player.  For the event to touch the player, the event has to be facing the player.  I missed that you had the Direction Fix box checked on that event.  The event's facing direction would depend on the row its sprite came from - if it was the top row, it's facing down.  If it was the second row, it's facing left, the third row is facing right (or vice versa), and if it was on the bottom row it is facing up.  


It looks like some kind of rocket, so I'm guessing it would approach the player from below?  In that case the sprite would need to be on the 4th or 8th row of the spritesheet in order for it to be facing the correct direction to trigger an event touch, if it approaches the player from below.

Original thread: https://forums.rpgmakerweb.com/threads/event-touch-not-functioning.67718/