Map Editor: How to Increase Hero Inventory Space?

I want to increase the inventory slots for Heroes from 6 to 9, but see no way on how to go about doing that. If anyone knows, please let me know. Thank you.

this is an hour long web seminar style rant by someone who tried to do what you are asking. In short, its annoying.

Lookup TasInventoryEx system online. For the reasons described in the 1 hr seminar, doing exactly what you ask may be hard. But TasInventoryEx can probably do it for the most part.

You create an 9 item array in scripting/triggers and you use two dummy items. One item scrolls left when clicked and the other scrolls right when clicked. IN principle yo ucan have a 1000 or more items in inventory with this method. I’ve done it before, but that was like 20 years ago…
…and no…it wasn’t worth the problem of coding it.

There are two ways to do it.

  1. Create two dummy items in the inventory with infinite charges (Use thunderlizard diamond for exampe and nerf it so it does nothing when clicked. Use a trigger to detect when it gets clicked, and then you pick the next item from your hidden array of inentory items and put it back in the hero’s 6 item slot.

  2. Use two dummy ability buttons, assuming you have space to do that on the Unit’s interface (I usually do not have this space) and then when th eability button is clicked, you scroll the hidden array and put the next item back in the hero’s inventory.

Method 3:

  1. PUt a dialogue button on the screen for hte player to click, this gives you 2 extra slots to work with and doesn’t kill two skill buttons. When the player wants to scroll elft they click the left button, and when they want to scroll right they click the right button.

It’s annoying but if you give it some thought you should be able to write this trigger in like 30 minutes (for a person who’s already done it befor ein the past). A noob should be able to think their way through this in a day’s time ,right?

Have you ever written your own password save/load feature for a RPG map? I have.

If you ever want to do a save/load, then manipulating the inventory like this is required anyway…so I guess you may as well learn how to do it one way or another.