Hello everyone!
In my game I wanted to add a short stealth section where you have to find your way through a bandit camp at night. The premise is simple, there are a few bandits around the camp looking up, left, right and/or down in a pattern. If the player is standing in front of a bandit when they turn to look in that direction, the player is found and is returned to the start of the stealth section. I've been searching for a while but none of the tutorials or plugins I've found are the things I'm looking for.
My problem is of course how to implement it, starting with the bandit themselves. I know I can't use Autorun to make the bandits turn in the pattern I want them to turn in, since that makes the player unable to move. I have tried the other options but they don't make the bandit turn until he's interacted with. I have looked through Yanfly's Event Chase Plugin but that's not the type of event I want.
The type of event I do want is that when certain invisible events in line with the bandit which has the same pattern as said bandit. They're timed so when the bandit turns, the event(s) is also on thanks to its seperate timer being the same as the bandits, before disabling along with the bandit turning.
If any of this is hard to understand I do have two screenshots below of both the bandit, its "timer" and the plan of how the stealth section would look like. So if anyone has a good tutorial I've missed or some plugin, please share it so I can make this
stealth part of my game.
Thank you all in advance!
In my game I wanted to add a short stealth section where you have to find your way through a bandit camp at night. The premise is simple, there are a few bandits around the camp looking up, left, right and/or down in a pattern. If the player is standing in front of a bandit when they turn to look in that direction, the player is found and is returned to the start of the stealth section. I've been searching for a while but none of the tutorials or plugins I've found are the things I'm looking for.
My problem is of course how to implement it, starting with the bandit themselves. I know I can't use Autorun to make the bandits turn in the pattern I want them to turn in, since that makes the player unable to move. I have tried the other options but they don't make the bandit turn until he's interacted with. I have looked through Yanfly's Event Chase Plugin but that's not the type of event I want.
The type of event I do want is that when certain invisible events in line with the bandit which has the same pattern as said bandit. They're timed so when the bandit turns, the event(s) is also on thanks to its seperate timer being the same as the bandits, before disabling along with the bandit turning.
If any of this is hard to understand I do have two screenshots below of both the bandit, its "timer" and the plan of how the stealth section would look like. So if anyone has a good tutorial I've missed or some plugin, please share it so I can make this
stealth part of my game.
Thank you all in advance!