• 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 that triggers ability cooldown

Status
Not open for further replies.
Level 4
Joined
Oct 11, 2008
Messages
90
When a hero enters region "x" i want his ability "bloodthirst" to be on cooldown for 15 seconds without casting it. Is there a trigger that does that?
 
Level 10
Joined
Mar 16, 2009
Messages
354
Event -
Unit enters region (Your region)
Condition - entering unit is equal to the hero that has the spell
- learned hero skill equal to (Your spell)
Action - unit - remove your ability from trigering unit
- wait 1.5 seconds
- add ability to trigering unit

Hope this helps :)
 
Last edited:
Level 4
Joined
Oct 11, 2008
Messages
90
That is a way, but i don't quite want to remove it and then add it again, only be on cooldown. Maybe there is a JASS script or something.
 
Level 10
Joined
Mar 16, 2009
Messages
354
maybe, or if you want to add the look of a cooldown you could replace your abillity with an abillity thats ecactly the same except that the abillity does nothing and is forced to be used by the trigger and has a cooldown of 1.5 seconds then the abillitys get switched back
 
Level 2
Joined
Mar 7, 2005
Messages
23
like how XPQJ said..

when ur hero enters ur region ... remove ur hero ability.. add a dummy ability with the same tooltips and icon which does nothing.. then issue order entering unit ( ur unit ) to cast that new ability.. u can wait for its certain Cooldown.. and then remove it . and add ur main ability back again to ur hero..

if u dont know how to do any part of that idea.. just let me know.
 
Last edited:
Status
Not open for further replies.
Top