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

[Spell] How to temporarily hide a hero spell without resetting its cooldown

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
You can use this function;
  • Player - Disable Acid Bomb for Player 1 (Red)
Player - Enable/Disable Ability
This will hide the unit's ability and still retain its cooldown.

NOTE: By using this function, it will hide the ability from a player, meaning that if you have more than 1 unit of that unit-type possessing the ability, all units will be affected by the affected players.
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
That's a great option (I assume it works) - does this only work for channel? I'm not using that but I can change to it.

I think it only works for Channel, since for that ability, you can configure the command card visibility for each ability level separately.

Note that you can still order the unit to cast the ability with triggers, even if the command card icon is hidden,
 
You can use this function;
  • Player - Disable Acid Bomb for Player 1 (Red)
Player - Enable/Disable Ability
This will hide the unit's ability and still retain its cooldown.

NOTE: By using this function, it will hide the ability from a player, meaning that if you have more than 1 unit of that unit-type possessing the ability, all units will be affected by the affected players.

So I have two options: Disable the ability for all players and break MUI, or use channel and set maximum level - which will require me to use dynamic triggers to prevent loss of levels. Sucks either way.

Anyway, thanks to everyone who helped.
 
Level 4
Joined
Oct 20, 2011
Messages
129
One more choice: If you want to prevent the hero from using the spell without hiding it, you can add Requirement to the spell and use trigger to control it. However it works as same as Disable spell for player.
(While cooldowning, the spell looks like passive spell in cooldown!)
 
Status
Not open for further replies.
Top