I'm trying to create visible enemy events that approach the player and if they touch, trigger a battle. However, the event walks within a tile's distance from the player and gets lost, seeming to avoid direct contact. Is there a way around this?
Event seems to avoid touching player
RPG Maker VXAce SupportDo you set the Autonomous Movement of the event/enemy to be Approach? You can also try set a Custom > Move Route to be Move Toward Player.
We really need to see a screen shot of your event page to work out accurately what's happening. That needs to be the whole page, not just the commands section on the right. If it has more than one page, then we need to see them all.
Have you got your event's movement set to 'approach' and the trigger set to 'event touch'?
Have you got your event's movement set to 'approach' and the trigger set to 'event touch'?
So I've started with Approach set for the autonomous movement and Player Touch as the trigger. I've tried changing the autonomous movement to a Custom/Move Toward Player with no difference. Also, I've tried changing the Trigger to Event Touch, but the same issues persist.
http://i.imgur.com/yDLGEWG.png
http://i.imgur.com/gN8mrDS.png
http://i.imgur.com/yDLGEWG.png
http://i.imgur.com/gN8mrDS.png
It has to be event touch. Player touch will not necessarily work.
I've now made 3 games using this, - approach, plus event touch - without having a problem.
If that combination does not work for you, then there must be something else interfering with the process.
Do you have any custom scrips which affect movement in any way at all?
I've now made 3 games using this, - approach, plus event touch - without having a problem.
If that combination does not work for you, then there must be something else interfering with the process.
Do you have any custom scrips which affect movement in any way at all?
Okay, so I used this combination and got it to work. Thanks!
Original thread: https://forums.rpgmakerweb.com/threads/event-seems-to-avoid-touching-player.43248/