Well, im not REALLY sure if it is a trigger/data problem.
The problem is as follows.
i have a trigger that makes a unit group attack the closest unit to said unit group.
This works for my FOUR units groups
each unit group start in a corner and then pursue the closest units.
HOVEVER when that first aquired unit dies, the units are not targeting a new unit closest to their position. instead they will just stand still.
if you move another unit into aggro range the trigger seems to apply. there are no range restrictions on the trigger tho, so i wonder where this "aggro" range is of units.
"CODE"/triggers
Unit - Order all units in Mobs to ( Attack targeting (Closest unit to (Center of Mobs) in (Any units in (Entire map) owned by player Any Player matching Required: Worker, with at most Any Amount))) (Replace Existing Orders)
"CODE"/triggers
if you want to see the map that can be aranged to just hit me up.
Disregard that, i got it to work lol, i THINK it the trigger not running properly, i had it to run the trigger on start on each level, not turn on, and the trigger was intitally disabled. so :), i also increased the weapon range to 500, but not sure thats the problem
Well, im not REALLY sure if it is a trigger/data problem.
The problem is as follows.
i have a trigger that makes a unit group attack the closest unit to said unit group.
This works for my FOUR units groups
each unit group start in a corner and then pursue the closest units.
HOVEVER when that first aquired unit dies, the units are not targeting a new unit closest to their position. instead they will just stand still.
if you move another unit into aggro range the trigger seems to apply. there are no range restrictions on the trigger tho, so i wonder where this "aggro" range is of units.
"CODE"/triggers Unit - Order all units in Mobs to ( Attack targeting (Closest unit to (Center of Mobs) in (Any units in (Entire map) owned by player Any Player matching Required: Worker, with at most Any Amount))) (Replace Existing Orders)
"CODE"/triggers
if you want to see the map that can be aranged to just hit me up.
@COldfusionstorm: Go
Bump for great justice
What event and condition you use?
@COldfusionstorm: Go
Probably you are calling this only once, so they only kill one unit. The range is not because of your trigger, is normal range aggro probably.
We need to see the event and conditions like Flirer said.
Disregard that, i got it to work lol, i THINK it the trigger not running properly, i had it to run the trigger on start on each level, not turn on, and the trigger was intitally disabled. so :), i also increased the weapon range to 500, but not sure thats the problem
THANKS for your help anyways,