It seems like every time I set up my AI attacks, the units will just move about a screen away and then just go back to their spawn before they really get anywhere. They are supposed to keep going at least until they reach a player's start location, and preferably attack any player units there.
Here is what I'm doing for the spawning...
I should also add that some of the players won't be spawning every game, and I'm not sure if that affects the start locations or not. (like, the ability to move to the position of start locations)
So, what am I doing wrong? Any takers?
Here is what I'm doing for the spawning...
-
HstleAtk 2 wolf Spawn
-
Events
- Time - Every 45.00 seconds of game time
-
Conditions
- (Number of units in Nature_AI) Less than or equal to 0
-
Actions
- Game - Display to (All players) the text: Debug: SPWN_Hostile...
- Unit - Create 1 Alpha Wolf for Neutral Hostile at (Center of Wolf Spawn <gen>) facing Default building facing degrees
- Unit Group - Add (Last created unit) to Nature_AI
- Unit - Create 1 Adult Wolf for Neutral Hostile at (Center of Wolf Spawn <gen>) facing Default building facing degrees
- Unit Group - Add (Last created unit) to Nature_AI
- Unit - Create 1 Young Wolf for Neutral Hostile at (Center of Wolf Spawn <gen>) facing Default building facing degrees
- Unit Group - Add (Last created unit) to Nature_AI
-
Events
-
HstleAtk 2 wolf Attack
-
Events
- Time - Every 45.00 seconds of game time
- Conditions
-
Actions
- Wait 1.00 seconds
- Game - Display to (All players) the text: Debug: ATK_Hostile ...
- Unit Group - Order Nature_AI to Attack-Move To ((Random player from (All players)) start location)
-
Events
I should also add that some of the players won't be spawning every game, and I'm not sure if that affects the start locations or not. (like, the ability to move to the position of start locations)
So, what am I doing wrong? Any takers?