[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,243
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