• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] Defend Ability with trigger, problem!

Status
Not open for further replies.
Level 2
Joined
Apr 17, 2012
Messages
14
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 :vw_wtf:
 
It didn't work either :/

Ok I changed the ability by a warstomp and it worked. So its apperently, the problem is the ability.. Is it because it is a "turn off" ability?
 
Last edited:
Status
Not open for further replies.
Back
Top