Hi everyone, I need some help at making an attack. The idea is like medic heal, but then it deals damage instead of healing units. So it basicly is an auto-cast ability that makes your unit attack, either by using a weapon or not I dont care.
I would simply just duplicate the medic's heal ability and then create a damage effect and make the ability have that effect instead of the Medic - Heal effect. And you must change the UI - Default Error of you newly duplicated ability. There is one called Must target an enemy's unit, or use another one, if it suits your ability better :) You could also change some of the Stats - Flags if you need.
The Ability - Target Filters determines who the unit can use the ability on, you must alter this too, if you want it too hit structures, metal unit and such.
And alter the Ability - Auto Cast Filters too :) and probly some other fields too.
I have actually been working on this very thing. I have everything set up except for getting the unit with the autocast ability to target enemies like I command. I have discussed this issue in some detail in this thread:
Hi everyone, I need some help at making an attack. The idea is like medic heal, but then it deals damage instead of healing units. So it basicly is an auto-cast ability that makes your unit attack, either by using a weapon or not I dont care.
@CrazyDutchy: Go
I would simply just duplicate the medic's heal ability and then create a damage effect and make the ability have that effect instead of the Medic - Heal effect. And you must change the UI - Default Error of you newly duplicated ability. There is one called Must target an enemy's unit, or use another one, if it suits your ability better :) You could also change some of the Stats - Flags if you need.
@CrazyDutchy: Go
The Ability - Target Filters determines who the unit can use the ability on, you must alter this too, if you want it too hit structures, metal unit and such.
And alter the Ability - Auto Cast Filters too :) and probly some other fields too.
I have actually been working on this very thing. I have everything set up except for getting the unit with the autocast ability to target enemies like I command. I have discussed this issue in some detail in this thread:
http://forums.sc2mapster.com/development/data/19905-ability-target-sorts-help/#p1
Setting up the basic autocast is pretty straightforward. If you need help with that let me know.
@GodsFury: Go
Ah thanks a lot man! It works :)!
@zzPop: Go
Thanks for looking into my problem as well but I dont know enough about the editor just yet to take a look @ them targetsorts ;P