• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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