• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Spells sharing the same cooldown.

Status
Not open for further replies.
Level 5
Joined
Oct 9, 2024
Messages
77
I'm making a list of spells and I want their cooldown time to be shared, when the hero uses one of them all 3 spells will go on cooldown, I believe triggers are the way to go but I don't know where to start.
 
If you're using the last version there's a function just for that

  • Cooldowns
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Unit - For Unit (Triggering unit), start cooldown of ability Blizzard " over "6.00 seconds.
      • Unit - For Unit (Triggering unit), start cooldown of ability Summon Water Elemental " over "20.00 seconds.
      • Unit - For Unit (Triggering unit), start cooldown of ability Mass Teleport " over "30.00 seconds.
1728945529017.png


You just need to put an "Or" conditon that checks what ability is cast and set the cooldowns appropriately
 
Status
Not open for further replies.
Back
Top