[General] Shop System?

Status
Not open for further replies.
Level 4
Joined
Jun 2, 2012
Messages
747
Hey, hivers. How do I do a shop system like in the game Sunken City of spasorc. When you go to shops there... when you click weapons it will show you diff kinds of weapon and when you click armors it will show you different kinds of armors like that.....How do I do that? Im a newb so please explain properly.
 
Look the spells section of the hiveworkshop, there is a system that allows u to make a limited amount of item groups each group having an 11 item limit
 
I have seen that but I am not good at JASS

Creating it using GUI probably would be a little tricky to do/time consuming, but this is just some thoughts on how I'd approach the problem (problem solving for the win).

Anyway, just having at the screen shot of that Shop System, it just looks like shop system is based around using spellbooks; and each page is a new "spellbook". Which means you'd have to create something the lines of (for lets say 10 items), you'd have to create 10 items, 10 item abilities (which are blank) and then lets say 2 or 3 item spellbooks (like Main Menu spellbook, and Weapons spellbook). Then you'd create a shop unit and then add the item abilities (such as Item: Long Sword) to them and when they get used they can create an item on the ground or whatever.

That seems like the most logical however I doubt it is the most effecient.

I think if you wish to extend the capabilities of your map, you should give JASS a try!

Best of luck!
 
Status
Not open for further replies.
Back
Top