Stop Event from turning towards the player

Hi,


I wanted to make a battle system where the player can get buffs, or debuffs, depending on if the enemy runs into him, or he runs into the enemy.


(My enemies are Events running through the map.)


So I made an event that checks where the player and the enemy are when they collide and who is facing wich way, to determine if the player will get buffs or debuffs.


My event seemed to worked flawless until I noticed that its "unpossible" for the player to "surprise" the enemie.


He can "surprise" an enemie by walking into his back.


Like I said my event works by checking were the player and the event is facing, but everytime I try to sneak into the enemies back and touch him, it will automaticly face towards the player and then check where both are looking, what obviusly is pointless, because the player can that way never walk in the enemies back.


And here is my question: Can someone fix this problem, or find another way to deal with it?


If you need my event in order to help me I will include it into this post. I just thought  it would be pointless because the problem is not the exactly the Event.


Thanks in advance!!!! 👍


And sorry for my bad english... im still learning... feel free to correct me! 😉
you'll need to turn on direction fix to prevent that automatic turning.


However, that will also prevent the event from turning when it's moving in a different direction.


So you'll have to turn it off before a move command in the move route, and turn it on again after it.


Luckyly it is a command of the moveroute to turn on or off direction fix...
When the player touches the event, before anything activates, go to move route command and put in the Direction Fix command to keep it facing in one direction.
Thanks it worked!!!

Original thread: https://forums.rpgmakerweb.com/threads/stop-event-from-turning-towards-the-player.61496/