HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Setting Ability Cooldown In Actions?

09-09-2004, 04:42 AM#1
shrimpchips
Is there a way to set the cooldown for an ability with an action? As in once the action is called the triggering unit can't use the ability for a duration set in the trigger? All I can find is a reset cooldown... :\
09-09-2004, 06:19 AM#2
Anitarf
No, there is no other ability to manipulate cooldown other than "reset ability cooldowns". Perhaps there is a trigger to disable/eanble ability for unit/player, I have a vague memory of there being something like that...
09-09-2004, 06:40 AM#3
aaero
Anitarf is right, there is an ability for player called disable/enable ability. I believe it makes the ability actually disappear from the units ability list, instead of showing up gray, but that's he only way I know of to do what you're talking about.
09-09-2004, 12:37 PM#4
SpadeZ
If the disable/enable action clears the ability from the list then you could always remove the ability and give the unit another false passive ability that has the disabled icon. Then create a countdown timer to give the ability back when the timer runs out. But that method is not suggested unless you really really need to.

09-09-2004, 03:15 PM#5
Anitarf
Quote:
Originally Posted by SpadeZ
If the disable/enable action clears the ability from the list then you could always remove the ability and give the unit another false passive ability that has the disabled icon. Then create a countdown timer to give the ability back when the timer runs out. But that method is not suggested unless you really really need to.


That method is also useless with hero abilities, because you can't dinamically add/remove them. You would have to simulate the whole hero skillpoint system to do this.
09-09-2004, 07:56 PM#6
BuRnInSpartan
dude you've posted like 50 million trigger questions... can't you just make one and ask all them in their or something? o_O
09-09-2004, 10:11 PM#7
SpadeZ
The method works, there is no skill point system needed. Just use the add/remove actions, set a lot of variables, and make individual countdown timers for different units. I dont see any problem in that. I've done similar trigs many times, worked fine. But as i said, that method is not suggested unless you really really need to.