HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item Shop Items Based On Buying Hero?

08-04-2007, 11:26 PM#1
botanic
the title says it all... I have some heros and I want the item shop to sell items specific to the hero that it buying the items. For example a Int hero has a selection of Int items and a STR hero has a selection of Str items...

I know i could make the selection change but then it will change every time a hero enters the range wich cold be annoying

The other solution i had was a shop for each hero but that would add a lot of clutter...

Any ideas even hard ones?
08-05-2007, 02:06 AM#2
MaD[Lion]
u need to add a shop for each hero... No other option.
08-05-2007, 02:12 AM#3
botanic
what about an ability on the shop that you goto a second menu and can buy items from that and the second menu is populated with items based on hero type?

EDIT

HAHA I GOT IT

im gonna make a shop for each hero stacked them on top of each other and triggered the selection of the correct shop when comes in range

any ideas on the select part ;P
08-05-2007, 03:00 AM#4
EliteLead
I like the stacking shops idea :D
Also thanks for the help Botanic!!!
08-05-2007, 10:20 AM#5
Ignitedstar
I'm pretty sure there was a GUI function that forces a player to select whatever-it-is you wish. Look under something like 'issues an order' or try 'force'. I don't know.
08-06-2007, 01:21 AM#6
MaD[Lion]
well this will be a bit crap because if u walk near shop and is fighting near there... u will lose hero selection :P
But ofc there is another option...
Make an event that checks when you select one of the shops, then make condition to check hero type, and then change the selection to the correct shop ;)
08-06-2007, 04:09 AM#7
EliteLead
To stop it from selecting you when fighting you could just use a condition.