I have a problem with this:
)
This isn't the exact trigger I'm using, but it's exactly similar. I'm actually using two of this trigger, one for each spawn location.
The idea is to spawn units for an enemy computer player in an area around two separate building [let's say a barracks], and order them to attack move\patrol to a region, only IF: The building is alive, and the player heroes are in a certain region.
The Problem isn't the trigger activity [the conditions]. When the building is destroyed or when the heroes are in another area [region], the units stop spawning. The problem is that the spawned units don't attack-move to that region, but they meet half-way with the units spawned in the opposite area, then group at one of the spawn locations. I checked the target region of the attack-move many times, it's exactly where I want them to go, but that's not where they actually do go.
Any ideas?
-
Events: Every 30 seconds of the game.
-
Conditions: None
-
Actions:
-
If All conditions are true do then actions else do else actions
-
Conditions:
-
BuildingOk equal to True
-
HeroesInArea equal to True
-
Then - Actions:
-
Unit - Create 2 [Units] for player x facing blablabla
-
Unit Group - Order units in [UnitSpawnArea] to attack-move to [UnitAttackArea]
-
Else - Actions:
-
Do nothing.
-
Wait - wait 10 seconds.
-
If All conditions are true do then actions else do else actions
-
Conditions:
-
BuildingOk equal to True
-
HeroesInArea equal to True
-
Then - Actions:
-
Unit - Create 2 [OtherTypeOfUnit] for player x facing blablabla
-
Unit Group - Order units in [UnitSpawnArea2] to attack-move to [UnitAttackArea]
-
Else - Actions:
-
Do nothing.

This isn't the exact trigger I'm using, but it's exactly similar. I'm actually using two of this trigger, one for each spawn location.
The idea is to spawn units for an enemy computer player in an area around two separate building [let's say a barracks], and order them to attack move\patrol to a region, only IF: The building is alive, and the player heroes are in a certain region.
The Problem isn't the trigger activity [the conditions]. When the building is destroyed or when the heroes are in another area [region], the units stop spawning. The problem is that the spawned units don't attack-move to that region, but they meet half-way with the units spawned in the opposite area, then group at one of the spawn locations. I checked the target region of the attack-move many times, it's exactly where I want them to go, but that's not where they actually do go.
Any ideas?
