• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Trigger] Hide Ability Icons

Status
Not open for further replies.
If it's a Hero ability, it will appear :)
Stats - Hero ability (this is the field I'm speaking of).
The other ones are not active and have nothing to display, copy the icon field of theirs (Art - Icon) and you'll see that they still appear. Spell book is the only solution.

I know what you're speaking off :)

I got my temp ability as an item ability because I thought that would help, but well... That's why I created this thread, it didn't help. So, I'll have to use the spellbook then I just hope it will help. I hope I can be able to remove and add the spellbook with triggers without it appearing and such? Because it's an item that will have the ability and every hero shall be able to use the item and I don't want to add the spellbook to every hero I've got...
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
This will prevent the spellbook from showing up:

  • For each (Integer A) from 1 to 16, do (Actions)
    • Loop - Actions
      • Player - Disable Spell Book Onslaught for (Player((Integer A)))
Then add a trigger "Unit acquires an item" and add the spellbook to the unit. Same thing with "Unit Loses an item", remove the ability. But you need to check that the unit really has no items of that type.
 
This will prevent the spellbook from showing up:

  • For each (Integer A) from 1 to 16, do (Actions)
    • Loop - Actions
      • Player - Disable Spell Book Onslaught for (Player((Integer A)))
Then add a trigger "Unit acquires an item" and add the spellbook to the unit. Same thing with "Unit Loses an item", remove the ability. But you need to check that the unit really has no items of that type.

I know how this spellbook thing works and everyhing else. It's an active item, only then shall the temp ability be added so your events isn't necessary :)

I'll do this asap. thanks to you both, +rep
 
Status
Not open for further replies.
Top