Warcraft III resources & community, 2003–2006 · archived

How do I make items stack?

4 posts
#1

How do I make items stack?

How do I make it so if a guy picks up like, say, a healing potoin, and then picks up another that there will be 1 icon in his inventory that will say "2" on the bottom of the icon :?:

PEONMASTER
#2
That would have to be done with triggers and setting the chargrs on an time that has charge capabilities. But it would have to be an item that stays in your inventory.

i.e.
Hero pick up item
Item type is equal to ???
Remove last picked up/triuggering item from hero's inventroy
set # of charges of (whatever chargable item that stays in inventroy) to ???
#3
OK, I'll try that. Thanks!

PEONMASTER
#4
Ya, it worked GREAT! Thanks!

PEONMASTER