• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Solved] How to properly allow 12 items in item shop's command card

Status
Not open for further replies.
Level 14
Joined
Feb 7, 2020
Messages
387
[solved, item shops have a limit of 11]

I use AddItemToStock() to add items to a shop. It currently has abilities Select Hero and Sell Items.

The Select Hero ability has had its selection icon disabled, but whenever the 12th item is added to the command card the 0,0 item disappears into the abyss.

Is there a trick to force the command card for shops to allow 12 items that's compatible with adding items via code versus the items being there by default?

I tried a variation of these suggestions from other threads so far with no success:
- change icon X,Y to -1, -11
- change from Select Hero to Select Unit

unknown.png
 
Last edited:
Status
Not open for further replies.
Top