HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

individual items??

11-07-2003, 11:16 PM#1
The_Inquisitor3
this is kinda hard but I am sure that it is possible to do it..

look

I want to do that all the heros can buy life potions, but the archer hero only can to buy potions of mana, and the heroes cannot buy more than 1 same type of item,( if I buy one potion of life i cant buy any other types of potions(mana, life, restoration)) but be able to buy scrolls or claws.....

any ideas about this???
11-07-2003, 11:29 PM#2
drezman
the only way u cld do that would be to make trigger, so that when a unit has item X in inventory but he's unit B, it automatically drops and gives him the money back or something like that.
11-07-2003, 11:32 PM#3
Biflspud
You could make a customized shop, I suppose - can shops be player specific (i.e., only sell to a specific players)? Then set it so that unique items can't be restocked.
11-07-2003, 11:42 PM#4
The_Inquisitor3
but there is any option to specify that it is not possible to have 2 equal types of items IN THE INVENTORY (artifact, charged, powerup etc) so if i sell my potion i will be able to but other type of potion??
11-08-2003, 01:32 AM#5
Biflspud
No. The only thing you can do is have event based triggers on if they acquire an item. You could basically have:

Unit acquires an item
Item type = Claws of attack
If Player1Claws = 0
Then Set Player1Claws = 1
Else Remove (last manipulated item) from the game
Set Player gold = player gold + cost

And that's about it. That'd be a massive pain in the *** to set up for every item type.
11-08-2003, 01:36 AM#6
Jihad Joe
i think you can do something with item tables but or are they just for creeps dropping stuff?
11-08-2003, 01:54 AM#7
The_Inquisitor3
no, the items will be only avaliable at shop.
11-08-2003, 02:42 AM#8
Zachary_Shadow
As I'm doing this for my AoS, I know it can be done...and how.

But since I haven't released it yet, I'm a bit hesitant with sharing...Lemme think about it for a bit..and get back to you
11-08-2003, 03:16 AM#9
The_Inquisitor3
send me A PM. i guess we have the same idea... and dont want to said it in public until the map is finish.... plz tell me. i really need to know...
11-08-2003, 03:21 AM#10
Aelita Lyoko
No problem, can't be solved, throught the proper application, of custom triggers.:ggani: :ggani: :D :D