Hi everyone!
I've got these stealth segments in a game I'm working on. Enemies move around on routes and if they player walks into their line of sight and is within a set range, the enemies run forward and basically say "You're caught".
I then transport the player back to the starting area of the stealth section so they can try again. I also use a plugin from Yanfly that resets all the enemies to their default starting location.
The problem is that if an enemy spots the player, then even if they get reset, their movement route does not, so it can ruin the design of the stealth segment.
Is there something I can do so that they start their movement route all over again?
EDIT: Nevermind. I realized I can just duplicate the event page that the move route is on and toggle between the two pages after I reset the enemy locations. It then starts over the move route.
Sorry, mods. You guys can delete this one.
I've got these stealth segments in a game I'm working on. Enemies move around on routes and if they player walks into their line of sight and is within a set range, the enemies run forward and basically say "You're caught".
I then transport the player back to the starting area of the stealth section so they can try again. I also use a plugin from Yanfly that resets all the enemies to their default starting location.
The problem is that if an enemy spots the player, then even if they get reset, their movement route does not, so it can ruin the design of the stealth segment.
Is there something I can do so that they start their movement route all over again?
EDIT: Nevermind. I realized I can just duplicate the event page that the move route is on and toggle between the two pages after I reset the enemy locations. It then starts over the move route.
Sorry, mods. You guys can delete this one.