Hi.
You have all the necessary variables for each warrior, so we can create for him an artificial intelligence that will search for a base and attack it by itself without ready behaviors.
But Construct3 has great turret and movement behaviors so our AI will use them. And so it will be very simple, it will check if the warrior has reached the base at the attack distance and if it has reached the base, it will disable the movement behavior and turn on the turret.
I also added a little attack particle just to see who is attacking. The range of the turret can be set large for example the area of the warrior's gaze, as it will still be turned on only when the warrior reaches the attack distance.
Conclusion - every warrior should always be given a mind, even if it will be primitive and consist of two positions.
I hope I have understood your goal correctly.
fex.net/s/pbyostz