• 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 certain items stackable?

Status
Not open for further replies.
Level 3
Joined
May 27, 2023
Messages
18
So, I've created one particular item which has no use whatsoever except to be sold at shops. To reduce item-space redundancy, I want it to be able to stack, however I can't think of a way to make it do this. I've tried thinking about the charges value, but that doesn't help my case.

I've looked through the forums for help, but the post which I've come across has links to stacking systems which are no longer available. Does anyone have an idea on how to proceed with this?
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
Charges does help your case since that's what the stacking mechanic uses. Here's what you can do:

Enable Item Stacking in the Gameplay Constants menu:
1692827227736.png


Then change the Max Stacks and Number of Charges for your desired Item:
1692827281007.png


The Item will now stack and it's Sell value will scale based on the number of stacks.

This may not work the same on older versions of Warcraft 3, I believe the Gameplay Constant was added with patch 1.31.
 
Status
Not open for further replies.
Top