• 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 can i make shop selling more than 12 items

Status
Not open for further replies.

ivo

ivo

Level 1
Joined
Aug 15, 2006
Messages
2
All is in te tittle .How can i make shop selling more than 12 items??
 
Level 3
Joined
Jul 29, 2006
Messages
61
ivo said:
All 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.
 
Status
Not open for further replies.
Top