I have a problem with the air units not attacking the nearest target when given the suicide command in the trigger action pic. Where the small circle is on the map picture is where the air units spawn and the red line is the path that those units fly down. Now the white line is the path to the nearest target and yet the air units dont fly over there and attack it.
Well I solved the problem with the air units not attacking the nearest possible target from their spawn point with the enable suicide for idle units. To solve this was have a point location for the air units to attack.
Now the air units fly over there in attack move. But when the desired target point was reach the air units became idle while enemy units still remain.
Another trigger was needed and not the enable suicide for idle unit it has no effect on this new problem with the idle air units. I found this trigger on the forums and it works.
How can you add a condition where the trigger is not applied to broodlings. Somehow the trigger overrides the broodling tagetfilters and enables them to attack my air units.
Well mostly likely your Data is a mess with broodlords. Other option is to add in a trigger which gets Idle units for orders IF condition if Broodlord THEN attack only ground units, search for them.. ELSE attack any unit they can find.
Everything is ok with the broodlord data. Both the broodlord and broodling are trying to attack my air units. The trigger is the culprit. When the zerg air units spawn and are given the attack point to go to the broodlords are ok and seek out ground targets but when the broodlords fly over that attack point they become idle and that when the problem trigger kicks in and the broodlords start attacking my air units. This is the trigger that is giving me problems with the broodlords. So I should make the trigger to target broodlords and have them seek out ground units while the rest target what ever units they can.
@TwoDie: Go Thanks that solved the problem. I had to add zerglings and the other ground attack only units to the list. I did this when I notice a zergling was following one of my carriers.
@TwoDie: Go Thanks that solved the problem. I had to add zerglings and the other ground attack only units to the list. I did this when I notice a zergling was following one of my carriers.
The reason is because they are attacking the unit's point (or Attack-Moving to the position of the unit), not the unit itself. You would have to change the order to Order Targeting Unit to get them to target a specific unit. But creating a distinction like what TwoDie suggested should suffice for a simple "suicide" simulation.
If they would get order to find any Unit Including buildings then when targeting building they will ignore when being attacked by defenders and die by not responding for taking damage.
If they would get order to find any Unit Including buildings then when targeting building they will ignore when being attacked by defenders and die by not responding for taking damage.
That's true, unless a trigger or behavior has them retarget. It would take a more complex trigger to assign priority to certain target types based on the attacking unit.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a problem with the air units not attacking the nearest target when given the suicide command in the trigger action pic. Where the small circle is on the map picture is where the air units spawn and the red line is the path that those units fly down. Now the white line is the path to the nearest target and yet the air units dont fly over there and attack it.
Well I solved the problem with the air units not attacking the nearest possible target from their spawn point with the enable suicide for idle units. To solve this was have a point location for the air units to attack.
Now the air units fly over there in attack move. But when the desired target point was reach the air units became idle while enemy units still remain.
Another trigger was needed and not the enable suicide for idle unit it has no effect on this new problem with the idle air units. I found this trigger on the forums and it works.
You may wish to add conditions to the trigger that causes idle units to search and destroy.
Well I noticed that the broodling were attacking the air units. I deleted the trigger and the broodling never targeted the enemy air units after that.
@BasharTeg: Go
How can you add a condition where the trigger is not applied to broodlings. Somehow the trigger overrides the broodling tagetfilters and enables them to attack my air units.
Well mostly likely your Data is a mess with broodlords. Other option is to add in a trigger which gets Idle units for orders IF condition if Broodlord THEN attack only ground units, search for them.. ELSE attack any unit they can find.
Edit: IF Broodlord OR Broodling THEN...
@TwoDie: Go
Everything is ok with the broodlord data. Both the broodlord and broodling are trying to attack my air units. The trigger is the culprit. When the zerg air units spawn and are given the attack point to go to the broodlords are ok and seek out ground targets but when the broodlords fly over that attack point they become idle and that when the problem trigger kicks in and the broodlords start attacking my air units. This is the trigger that is giving me problems with the broodlords. So I should make the trigger to target broodlords and have them seek out ground units while the rest target what ever units they can.
Heh seems like you just cant do it without writting for you a Trigger script :/
@TwoDie: Go Thanks that solved the problem. I had to add zerglings and the other ground attack only units to the list. I did this when I notice a zergling was following one of my carriers.
The reason is because they are attacking the unit's point (or Attack-Moving to the position of the unit), not the unit itself. You would have to change the order to Order Targeting Unit to get them to target a specific unit. But creating a distinction like what TwoDie suggested should suffice for a simple "suicide" simulation.
@BasharTeg: Go
If they would get order to find any Unit Including buildings then when targeting building they will ignore when being attacked by defenders and die by not responding for taking damage.
That's true, unless a trigger or behavior has them retarget. It would take a more complex trigger to assign priority to certain target types based on the attacking unit.