When you order a Baneling's to attack move to a location it will IGNORE enemy structures along the way but will however attack any units it comes across.
I've extensively examined the Baneling and it's explode ability, I'm not sure which part determines this. How can I make them also consider structures as targets.
In my map all units are uncommandable by players, so they'll just linger by enemy structures if no units are present.
Probably search filter for the damage unit effects (before the one that deals 35 damage, not 80) there should be structure unchecked. Check that and also remove the effect link to building damage if you like
weapon target filter would be my most obvious guess...
If not, set its building-attack ability to autocast initially (i think ability flags take care of that), altough that might make it ignore normal units :/ If it does, use a trigger to manipulate whether the autocast is enabled or not
Their explode-buildings ability is auto-castable, but the auto-cast is turned off by default. Turn it on and they will attack buildings when attack-moving as well. You don't need to edit anything, except maybe enable auto-casting the ability by default.
When you order a Baneling's to attack move to a location it will IGNORE enemy structures along the way but will however attack any units it comes across.
I've extensively examined the Baneling and it's explode ability, I'm not sure which part determines this. How can I make them also consider structures as targets.
In my map all units are uncommandable by players, so they'll just linger by enemy structures if no units are present.
Please help, thank you.
Bump, thanks.
Probably search filter for the damage unit effects (before the one that deals 35 damage, not 80) there should be structure unchecked. Check that and also remove the effect link to building damage if you like
weapon target filter would be my most obvious guess...
If not, set its building-attack ability to autocast initially (i think ability flags take care of that), altough that might make it ignore normal units :/ If it does, use a trigger to manipulate whether the autocast is enabled or not
Their explode-buildings ability is auto-castable, but the auto-cast is turned off by default. Turn it on and they will attack buildings when attack-moving as well. You don't need to edit anything, except maybe enable auto-casting the ability by default.
Thanks everyone. Yea the attacks was made to not search for buildings, changing that banelings will attack them instantly now :)