As the title suggests, is there a way to change an item's max stacks in game, or by other means? What I mean is this: Say there's an item which cannot stack (or only stacks to one), is there a way to change it such that if a behavior were acquired or something that specific item would then be allowed to stack?
And for the next question (this isn't as important), assuming this is possible, there's really no need to display the stack count if only one of the items can be held (since it will always ready 1), so I'm sure this is a stretch but is there a way to change the "Hidden" flag in game once the stack count was changed, through validations, requirements or through whatever means?
I don't know what exactly what you're trying to do but from what you're describing it sounds like it would be easier to simply replace the items in the inventory under certain conditions and have two different items (one stackable, one unstackable) that look alike.
So when the unit gets the behavior all unstackable items in the inventory get changed to their stackable version.
The second item could also have hidden stack count.
it sounds like it would be easier to simply replace the items in the inventory under certain conditions and have two different items (one stackable, one unstackable) that look alike.
So when the unit gets the behavior all unstackable items in the inventory get changed to their stackable version.
The second item could also have hidden stack count.
I can't believe I didnt think of that... Brilliant! Thanks for the help.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
As the title suggests, is there a way to change an item's max stacks in game, or by other means? What I mean is this: Say there's an item which cannot stack (or only stacks to one), is there a way to change it such that if a behavior were acquired or something that specific item would then be allowed to stack?
And for the next question (this isn't as important), assuming this is possible, there's really no need to display the stack count if only one of the items can be held (since it will always ready 1), so I'm sure this is a stretch but is there a way to change the "Hidden" flag in game once the stack count was changed, through validations, requirements or through whatever means?
Bump? I hope this isn't too difficult/impossible, it would be amazing if this could be accomplished!
Well, you can change catalog values.
I've never used it so I don't know all that much about it. Here are some links:
http://www.hiveworkshop.com/forums/trigger-gui-galaxy-ai-scripts-657/catalog-functions-178518/
http://www.sc2mapster.com/forums/resources/tutorials/1250-triggers-catalog-field-value-get-set/
http://paste.paste.sc2mapster.com/forums/general/general-chat/31041-catalog-field-values/
I don't know what exactly what you're trying to do but from what you're describing it sounds like it would be easier to simply replace the items in the inventory under certain conditions and have two different items (one stackable, one unstackable) that look alike.
So when the unit gets the behavior all unstackable items in the inventory get changed to their stackable version.
The second item could also have hidden stack count.
I can't believe I didnt think of that... Brilliant! Thanks for the help.