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

[General] Question about Doom

Level 8
Joined
Jul 22, 2015
Messages
123
This thread, even though we now got the disable ability native that basically silences abilites, contains useful information about silence and how it works. It claims Reincarnation isnt silenced either which could mean that there are a few others. SilenceEx - Everything you don't know about Silence.
Its actually very helpful! since doom also disable cast spell, now i wonder how to disable ability from item to activated/using it only, but not regular spell
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
now i wonder how to disable ability from item to activated/using it only, but not regular spell
Should be pretty easy, but would affect all units owned by a player at once. Edit the item ability in the OE and give it a techtree requirement of some unit-type. Give all players one such unit on map init and save them into a unit array or a unit group; this will allow them to use the item abilities 'by default'. When you want to disable the item abilities, remove that player's requirement unit from the map so the requirements are no longer met (or change the owner of the unit to Neutral Passive or something). When you want it to be re-enabled, create another such unit for the player or change ownership back.
 
Top