I've done quite a bit of searching, but I don't see much about AI behavior or ability commands that would help with my problem. I'm not certain it's even possible.
What I need is the ability to have enemy units (auto-spawned) be given a command to basically a-move to a point/region/unit/etc, attacking any opposing play units along the way, but without turning back around to attack units behind them.
The map is a TD style but with spawned player units from buildings instead of attacking towers.
What currently happens is similar to this:
- Enemy unit spawned begins to a-move to "End Point"
- Player building spawns Zealot
- Enemy unit kills Zealot
- Enemy unit continues on a-move path
- After X amount of time, Zealot is respawned
- Enemy unit turns around to attack the newly spawned Zealot
What needs to happen is, the enemy unit should continue on his path only attacking new opposing player units in his path without returning to attack respawned dead units.
I would obviously like to do as much as possible in the Data editor before falling back to triggers.
I've done quite a bit of searching, but I don't see much about AI behavior or ability commands that would help with my problem. I'm not certain it's even possible.
What I need is the ability to have enemy units (auto-spawned) be given a command to basically a-move to a point/region/unit/etc, attacking any opposing play units along the way, but without turning back around to attack units behind them.
The map is a TD style but with spawned player units from buildings instead of attacking towers.
What currently happens is similar to this: - Enemy unit spawned begins to a-move to "End Point" - Player building spawns Zealot - Enemy unit kills Zealot - Enemy unit continues on a-move path - After X amount of time, Zealot is respawned - Enemy unit turns around to attack the newly spawned Zealot
What needs to happen is, the enemy unit should continue on his path only attacking new opposing player units in his path without returning to attack respawned dead units.
I would obviously like to do as much as possible in the Data editor before falling back to triggers.
Only way I can think of is to give them a angular weapon and apply a marker behind them that stops them being able to attack.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg