• 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.

[Trigger] Trigger don't work

Status
Not open for further replies.
Level 12
Joined
Mar 23, 2008
Messages
942
Well, I tried to make a ability that allows my unit to burn the mana of the enemy each attack, first I used feedback, but feedback cannot be turned off and its a orb, so I choose searing arrow.

I tried adding a effect to the arrow and burn the mana of units with the effect, but the effect never appear and the mana don't burn.
After I tried a buf, and got the same problem.
So I tried making it:

  • Hama no Ya Test
    • Events
      • Unit - A unit finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Hama no Ya
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of (Ability being cast) for (Casting Unit)) Equal to 1
        • Then - Actions
          • Unit - Set mana of (Target unit of ability being cast) To ((Mana of (Target unit of ability being cast)) - 4)
        • Else - Actions
  • This repeat for all lvs with different amount of mana burned...
Edit: The problem stay if I use "Begins casting an ability"

Edit2: If I put "Starts the effect of an ability" works just when I manually click with the searing arrow.

Edit3: I don't know why, but when I manually uses the searing arrow, a yellow/dust missile goes to the target, and after that the searing arrow comes.
 
Level 7
Joined
Dec 8, 2005
Messages
319
I tried to do that... but I don't know what condition I can use to see if a ability is active.

(Also, I need a generic trigger, because I have more than one unit with that ability)

um you just said you need a generic trigger... re read what you said
 
Level 7
Joined
Dec 8, 2005
Messages
319
ps if you have more then one unit with that ability... then set a condition to check for units and whats the big deal about more then one unit using the ability... you would want all of them to have the spell work on all of them... having to select a specific unit would need a variable to select a unit and store it... that would take alot of storing and alot more work.
 
Level 7
Joined
Dec 8, 2005
Messages
319
hmm try making a post in the spell and system forum... i am not sure about this one... auto cast and spells like immolization are tricky in gui
 
Status
Not open for further replies.
Top