• 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] About disabling / removing skills

Status
Not open for further replies.
Level 20
Joined
Aug 13, 2013
Messages
1,696
I have a question: is it possible to disable a single skill for a single unit? Or remove it and add it when you return to the same cooldown?
Please leave your contribution, codes and so on.
Thank you.

This can be done in triggers by removing ability and adding ability to the unit and also what do you mean by this: " and add it when you return to the same cooldown? " ??
 
@Jake - If you use remove ability then add ability, the cooldown is reset... he wants it such that the cooldown will stay...

Like I use an ability which has a 5 second cooldown, then I remove it and readd it [almost instantly], it should still be in cooldown...

Now, Disable/enable does keep cooldowns... but the problem is that disable/enable is per player not per unit...
 
Status
Not open for further replies.
Top