• 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.

how to put something on cooldown without casting

Status
Not open for further replies.
Level 2
Joined
Apr 1, 2008
Messages
10
how can i make a spell go on cooldown without the unit ever casting the spell?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
I need that too (specially for passives, possible to make a cooldown but not visualy)

I think I have an idea
firstly make it active
Make a trigger like
if unit is ordered to use that ability
pause it - order it to stop - unpause

Whenever you want to start cooldown
Disable first trigger
order unit to use that spell
enable first trigger

Not so efficient
 
Level 2
Joined
Apr 1, 2008
Messages
10
i think im just gonna make it remove the ability from the unit with triggers, fire a timer, and then give the ability back after the timer expires... really the only way
 
Level 1
Joined
Nov 6, 2007
Messages
3
You could try making the unit cast some dummy ability with no effect that has the same Order Id as your spell. (Based from the same ability)
That might work.

This is what I would do.

If that doesn't do it, you could try removing the original ability, making a dummy ability with the same icon and tooltip, having the dummy ability fire, and then when the cooldown is over replace it with the real ability.
 
Status
Not open for further replies.
Top