Warcraft III resources & community, 2003–2006 · archived

How can i make shop selling more than 12 items

2 posts
#1

How can i make shop selling more than 12 items

All is in te tittle .How can i make shop selling more than 12 items??
#2

Re: How can i make shop selling more than 12 items

ivoAll is in te tittle .How can i make shop selling more than 12 items??


make a few items called Next page (with different suffixes such as 1, 2, 3 etc.), Then items called last page (2,3,4 [good to make the suffixes match]) Next make multiple shops, each with the same model and the different items you want. Shop (1) can have 11 items, everyother one can have 10. Shop 1 gets Next page (1), shope 2 gets Next Page (1) and Last Page (2), Etc

next make a trigger so that when a unit aquires item Next Page (x) Shop x is replaced with Shop x+1 (Replace actually is a bad thing to use, I suggest creating and removing). When Last Page (x) is used, replace Shop x with shop x-1.

This works pretty well, and allows unlimited items, the problem is it changes the page for EVERY player. Good for indiviualized shops in Multiplayer, And great for Single player. I think it might also have cooldown times for the items but i'm not sure.

Also You might want to use a tome as a base to avoid the not enough inventory room, as well as skiping the remove item x action.

Good things to do: use If Then Else to make 1 trigger.