So currently i'm trying to make a mechanic as follows:
- When the player in LOS of the enemy, the enemy will flee.
- When the player is out of enemy's LOS, the enemy will keep fleeing for a second before going back to normal movement.
I tried using "wait" event, but it doesn't work. I haven't figure it out how to do it yet, any suggestion on how to do it? Capx attached.
https://www.dropbox.com/s/hx6enb08my9coe6/BattleTest.capx?dl=0