I would like to make some auto-castable abilities for the heros in my map, but I do not completely understand how they work. For example, If I had an autocastable... searing arrows, but I wanted to make it GUI triggered instead, what would the EVENT for the trigger be(Unit Starts Casting an ability, begins casting, etc.)? As when I was experimenting I found that the event "A unit Starts the Effects of an Ability", which I usually use for my triggered abilities, only worked for the first time a unit is healed with the priest's "Heal" ability. So I would like to know how to have it detect when the heal ability is eing used.
Would it be like this?
Trigger1
Event - Unit Stats the effects of an ability
Conditions - Ability being cast = Heal
Actions - Set healBeingCast(Boolean) to True
Trigger2
Event - Unit Stops Casting an ability
Conditions - Ability being cast = Heal
Actions - Set healBeingCast(Boolean) to False
I would appreciate any help, thank you in advance.
Would it be like this?
Trigger1
Event - Unit Stats the effects of an ability
Conditions - Ability being cast = Heal
Actions - Set healBeingCast(Boolean) to True
Trigger2
Event - Unit Stops Casting an ability
Conditions - Ability being cast = Heal
Actions - Set healBeingCast(Boolean) to False
I would appreciate any help, thank you in advance.