Hi! I'm trying to make a sort of stealthy game.
How I've gotten it to work, is that once the player is spotted by an enemy, all events(NPCs) on the screen will move into "Alert Mode" and start to follow the player, and a battle will ensue once an event touches the player. This works fine.
However, I want to end the "Alert Mode" and have all events return to their original positions after a certain number of steps are taken, but I don't know how to do this. Can anyone offer me any help?
How I've gotten it to work, is that once the player is spotted by an enemy, all events(NPCs) on the screen will move into "Alert Mode" and start to follow the player, and a battle will ensue once an event touches the player. This works fine.
However, I want to end the "Alert Mode" and have all events return to their original positions after a certain number of steps are taken, but I don't know how to do this. Can anyone offer me any help?