I have a guarded lock-up in my game which is patrolled by enemies. If you get too close, they attack you.
The problem I'm having is that when the first guard comes into view on the screen, he starts moving in his set move route (until he spots you). However, there are other guards who patrol the same route – for the sake of simplicity, let's say there are 4 guards, spaced out, who each have the same move route along a series of corridors. The other guards remain in their starting position until they come into the field of view of the player, which means they are no longer spaced out in the same way as at the beginning and start bunching up, giving the player large gaps between guards which I don't want.
Is there a way to set the events so that they all start moving as soon as the player enters the map, instead of just when they come into view?
Appreciate any ideas you might have!
The problem I'm having is that when the first guard comes into view on the screen, he starts moving in his set move route (until he spots you). However, there are other guards who patrol the same route – for the sake of simplicity, let's say there are 4 guards, spaced out, who each have the same move route along a series of corridors. The other guards remain in their starting position until they come into the field of view of the player, which means they are no longer spaced out in the same way as at the beginning and start bunching up, giving the player large gaps between guards which I don't want.
Is there a way to set the events so that they all start moving as soon as the player enters the map, instead of just when they come into view?
Appreciate any ideas you might have!