Hi there!
Here's my problem. I give the Defend ability to one of my hero. I also made a trigger. The trigger is supposed to, when the ability is cast, substract by 30 a variable and to turn off another trigger. The problem here is that the trigger just dont work at all. Seems like my event or my condition is wrong. Exemple:
Events
Units - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Defend
Actions
Set Variable = (Energie - 30)
Trigger - Turn off Mytrigger <gen>
I heard something about putting a "wait" in the actions in case of a "begin cast" event. I tried, and it did'nt work. Please help
Here's my problem. I give the Defend ability to one of my hero. I also made a trigger. The trigger is supposed to, when the ability is cast, substract by 30 a variable and to turn off another trigger. The problem here is that the trigger just dont work at all. Seems like my event or my condition is wrong. Exemple:
Events
Units - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Defend
Actions
Set Variable = (Energie - 30)
Trigger - Turn off Mytrigger <gen>
I heard something about putting a "wait" in the actions in case of a "begin cast" event. I tried, and it did'nt work. Please help