• 🏆 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!

[HELP]Cooldowns

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
I think he means to pause the cooldown of the spell when it's removed from the command board and resume the cooldown when that spell is brought back to the command board. Like Invoker (from DotA) does it. He combines 3 orbs and then presses the spellbook and the spell is brought to the CB.

I don't think that's possible lol. Or is it?
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
The only way to make spells disappear and reappear while not messing up cooldowns is by using engineering upgrade.
There's a ton of tutorials on the subject, but essentially the point is that you have 1 dummy ability(disabled) and your real ability. The engineering upgrade switches between them.
 

Cokemonkey11

Spell Reviewer
Level 30
Joined
May 9, 2006
Messages
3,560
The only way to make spells disappear and reappear while not messing up cooldowns is by using engineering upgrade.
There's a ton of tutorials on the subject, but essentially the point is that you have 1 dummy ability(disabled) and your real ability. The engineering upgrade switches between them.

Actually that's incorrect. You can use the channel base ability together with UnitIncAbilityLevel() (sorry if that's incorrect I'm on my mobile device) to hide the spell. The only case you'd want something besides this is if the ability must have instant cast time.

See "pick a card" from my twisted fate spell pack for demonstration.
 
Level 21
Joined
Mar 27, 2012
Messages
3,232
Actually that's incorrect. You can use the channel base ability together with UnitIncAbilityLevel() (sorry if that's incorrect I'm on my mobile device) to hide the spell. The only case you'd want something besides this is if the ability must have instant cast time.

See "pick a card" from my twisted fate spell pack for demonstration.

Yeah, I guess it works too(for single spells), while for replacing it is better to use engineering.
 
Status
Not open for further replies.
Top