• 🏆 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!

shared ability cooldown

Status
Not open for further replies.
Level 9
Joined
Apr 27, 2012
Messages
228
Hi all,
I want a group of units to share the cooldown of an ability.
This means when only 1 of the units in the group uses the ability, all of the units in the group will have to wait for the ability to cool down.

It is important that the other units in the group DO NOT use the ability. Is there a way/workaround?
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
You have to give those units dummy abilities, which do nothing when cast. Then check if a player casts the ability and trigger the effects and order all other units with the ability to use it.

Depending on whether you want order interrupting or not, you have to take the correct base ability for your dummy ability.
 
Level 9
Joined
Apr 27, 2012
Messages
228
Status
Not open for further replies.
Top