• 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] Custom Spell Based on Channel Triggers Twice

Status
Not open for further replies.
Level 2
Joined
Mar 26, 2018
Messages
6
So I have four custom abilities all based on Channel and all with their own orderId set. They are placed in a spellbook and I have a trigger to run when any one of those four is cast. However, when I cast one of them it runs the trigger associated with it twice. How can I get it to only trigger once?

Edit: Giving the spells a cooldown doesn't change the double trigger.
 
Last edited:
Level 12
Joined
Mar 24, 2011
Messages
1,082
Well then, make 4 different triggers looking like:
  • trigger 1
    • Event
      • Unit starts the effect of an ability
    • Conditions
      • Ability being cast = Ability 1
    • Actions
      • Display message to all players "Ability 1 had been cast"
  • trigger 2
    • Event
      • Unit starts the effect of an ability
    • Conditions
      • Ability being cast = Ability 2
    • Actions
      • Display message to all players "Ability 2 had been cast"
You get the idea for the rest.
When you figure out what is happening, try messing with those values again.
 
Status
Not open for further replies.
Top