http://forums.rpgmakerweb.com/index.php?/topic/415-proximity-events/
I'm trying to make a system where you have on-map battles.
If an enemy sees you within a range of 5, they run toward you and initiate battle.
If you flee, the enemy also flees (or at least, is meant to - is where I run into issues as you'll see in a second)
You see, if there are multiple enemies in the same area and they all initiate battle at the same time, then the player will be stuck in an endless loop of battles, as the battle screen is never exited before the next battle starts, and I simply cannot get the other events to stop their battle processing whilst in range if already triggered.
This is most likely due to the events being Parallel processes, but the script requires this so I'm not quite sure what else I can do :/
Here is an example which I set up and duplicated a few times (the real one is more complicated) but both run into the same issue, if they all attack the player at the same time.
EDIT: I realize I don't have an erase event on the 'if win' in this example but that doesn't seem to be the actual issue lol
I'm trying to make a system where you have on-map battles.
If an enemy sees you within a range of 5, they run toward you and initiate battle.
If you flee, the enemy also flees (or at least, is meant to - is where I run into issues as you'll see in a second)
You see, if there are multiple enemies in the same area and they all initiate battle at the same time, then the player will be stuck in an endless loop of battles, as the battle screen is never exited before the next battle starts, and I simply cannot get the other events to stop their battle processing whilst in range if already triggered.
This is most likely due to the events being Parallel processes, but the script requires this so I'm not quite sure what else I can do :/
Here is an example which I set up and duplicated a few times (the real one is more complicated) but both run into the same issue, if they all attack the player at the same time.
EDIT: I realize I don't have an erase event on the 'if win' in this example but that doesn't seem to be the actual issue lol