• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How do I make items stack?

Status
Not open for further replies.
Level 5
Joined
Sep 21, 2004
Messages
186
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
 
Level 22
Joined
May 11, 2004
Messages
2,863
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 ???
 
Status
Not open for further replies.
Top