I have my triggers set up so when a unit spawns they are told to 'Attact' to 'Final Point'.
However, if theres something in the way such as an enemy building they try to go to the point even though theres a cliff / wall in the way and fail to attack the enemy structures.
I have it set up now so if theyre in a region to attack to the center of the next region and so forth. The regions aren't connected (as in like touching as theres a big gap in between each of them. They attack the buildings in their path but if it takes too long or something they wont attack-move on and get stuck there.
I remember in SC1 you could Attack-Move (via triggers, I dont mean manually telling them in game like with 'A' + Clicking somewhere) them through a complex path and they wouldn't be confused however now to do the same they want to go to the shortest way even if they cant cause something (an enemy building) is blocking their way and they fail to attack it and move on and attack other buildings in their way and so forth.
Any way to have Attack-Move possible with out a bunch of regions and triggers to do this and just one trigger that tells them to attack move to a point and actually have them attack move not just sit there and not want to do anything but run Line Of Sight to the point even though they cant?
I'm not 100% sure but it seems that if you order units to attack point units react same way as you target them to attack building. (=right click)
I'm using "position of unit" on one of my triggers. Modify "Target point" value and try to find some option that fits for your map. Maybe "Center of region" works in your case?
Also, have you tested "attack wave" solution? Units sent by attack wave work much like attack move if you are playing with AI.
In the first method of just 'Attacking' to 'Final Point' theyre just attacking to a point. If theres nothing in their way, they run happily to the end. If I add buildings they're no longer happy and use Line Of Sight to try to get to the end instead of going the original way and attacking the buildings in their way.
In the second method, if theyre in a region, they attack to the center of the next region. Works as long as the regions aren't too far away and buildings aren't blocking their way (sometimes).
The pathway/terrain isn't simple, but nothing like a maze. Still though why they're failing to truly 'Attack-Move' is what I dont like.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have my triggers set up so when a unit spawns they are told to 'Attact' to 'Final Point'.
However, if theres something in the way such as an enemy building they try to go to the point even though theres a cliff / wall in the way and fail to attack the enemy structures.
I have it set up now so if theyre in a region to attack to the center of the next region and so forth. The regions aren't connected (as in like touching as theres a big gap in between each of them. They attack the buildings in their path but if it takes too long or something they wont attack-move on and get stuck there.
I remember in SC1 you could Attack-Move (via triggers, I dont mean manually telling them in game like with 'A' + Clicking somewhere) them through a complex path and they wouldn't be confused however now to do the same they want to go to the shortest way even if they cant cause something (an enemy building) is blocking their way and they fail to attack it and move on and attack other buildings in their way and so forth.
Any way to have Attack-Move possible with out a bunch of regions and triggers to do this and just one trigger that tells them to attack move to a point and actually have them attack move not just sit there and not want to do anything but run Line Of Sight to the point even though they cant?
Thanks
I'm not 100% sure but it seems that if you order units to attack point units react same way as you target them to attack building. (=right click)
I'm using "position of unit" on one of my triggers. Modify "Target point" value and try to find some option that fits for your map. Maybe "Center of region" works in your case?
Also, have you tested "attack wave" solution? Units sent by attack wave work much like attack move if you are playing with AI.
In the first method of just 'Attacking' to 'Final Point' theyre just attacking to a point. If theres nothing in their way, they run happily to the end. If I add buildings they're no longer happy and use Line Of Sight to try to get to the end instead of going the original way and attacking the buildings in their way.
In the second method, if theyre in a region, they attack to the center of the next region. Works as long as the regions aren't too far away and buildings aren't blocking their way (sometimes).
The pathway/terrain isn't simple, but nothing like a maze. Still though why they're failing to truly 'Attack-Move' is what I dont like.