HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Setting number of items in a shop?

05-28-2010, 04:06 PM#1
GolluM[KoMe]
Hey hey,
I don't manage to do an item that can b bought in shop and which I could control the number of items that are in a specific shop. + the item wouldn't recharge its stock with the time, it wold be only set by triggers
Is there a way to do so ? (I tried only with GUI with the neutral buildng section ...)
Thanks !
05-28-2010, 05:41 PM#2
0zyx0
You can set the restock time to a very, very high value in the object editor... And there are some natives to add and remove items from stocks, but I don't know about GUI.
05-28-2010, 06:07 PM#3
GolluM[KoMe]
3600 sec of restock isnt enough xD 10 000 would be correct .... ^^ I ll take a look at these natives thx :)
Btw do u know their name ????
05-28-2010, 08:25 PM#4
Ignitedstar
You can always Shift+Enter the restock time. Since I'm lazy about heroes that are picked (I don't remove them from the tavern) , I just set the restock time to 99999.
05-28-2010, 10:19 PM#5
GolluM[KoMe]
Ow i didnt know about the shift enter stuff !!! THX !!! it will help a lot :). But do u know the name of the native which can change the item stock in a shop ?
05-28-2010, 11:14 PM#6
Fledermaus
Neutral Building - Add Item-Type (To Marketplace)
Neutral Building - Remove Item-Type (From Marketplace)

->

Expand JASS:
05-28-2010, 11:32 PM#7
DioD
0 restock 0 max number of items and you will able to 100% control item with triggers.

functions posted above
05-29-2010, 12:20 AM#8
GolluM[KoMe]
ow k thx a lot guys :)