• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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