Preface: I'm guessing this is part triggering, part other so I felt guilty just restricting it to the triggering forum. If someone thinks it would fit better there, please move it.
So I created two triggers that change back and forth between to inventories for a hero by switching the two sets of items out, as well as changing the size of the inventory from 4 (Default in my game), to 6 (for backpack).
What I would like to do in tandem with this, is when I open the second inventory (the backpack), it also hides all of the heroes default abilities (move, stop, attack, etc) and opens up a second ability panel. While the default abilities are hidden and the backpack is open they should still be able to be used through right-click, etc. However, the displaying abilities should be a secondary panel of dummy spells I've chosen that the player can use and see while the backpack is open. The player should not be able to use any of the dummy spells while the backpack is closed.
I thought about using some sort of openable spell book but I want the Change to be triggered off an item being activated in the heroes inventory (called backpack), that is then temporarily removed from their inventory; I couldn't think of any logical way to implement that. I also don't want players to be able to "close" out of the abilities like they can with normal item spellbooks.
I'd also like to avoid using any sort of "unit" replacement where the hero-unit looks and sounds, etc the same but just has different abilities or something like that.
Thank you in advanced for any help.
+Rep to people who work with me constructively through multiple posts, and to the person who gives me an easy functional solution.
So I created two triggers that change back and forth between to inventories for a hero by switching the two sets of items out, as well as changing the size of the inventory from 4 (Default in my game), to 6 (for backpack).
What I would like to do in tandem with this, is when I open the second inventory (the backpack), it also hides all of the heroes default abilities (move, stop, attack, etc) and opens up a second ability panel. While the default abilities are hidden and the backpack is open they should still be able to be used through right-click, etc. However, the displaying abilities should be a secondary panel of dummy spells I've chosen that the player can use and see while the backpack is open. The player should not be able to use any of the dummy spells while the backpack is closed.
I thought about using some sort of openable spell book but I want the Change to be triggered off an item being activated in the heroes inventory (called backpack), that is then temporarily removed from their inventory; I couldn't think of any logical way to implement that. I also don't want players to be able to "close" out of the abilities like they can with normal item spellbooks.
I'd also like to avoid using any sort of "unit" replacement where the hero-unit looks and sounds, etc the same but just has different abilities or something like that.
Thank you in advanced for any help.
+Rep to people who work with me constructively through multiple posts, and to the person who gives me an easy functional solution.