item stack help

Status
Not open for further replies.
Level 2
Joined
Jun 25, 2005
Messages
16
How do I make an item that increases in power every time you pick a piece up.
(every time you get another piece the name of the item won't change)
I'm making an item that increases damage by one, every time you pick another piece up your damage will increase by 1 more damage. It will have 100 pieces and every time you pick a piece up it shows how many pieces you have.

How do I make an item like this?
 
hmm... using triggers i think is what you would end up doing. soemthing like this:
EVENT: Unit- unit picks up (item)
you would probly need to create a variable there or something, then name the item what the variable is.
CONDITION: Item = (the item with 100 peices)
CONDITION: If number of item is = to (1-100)
Now i believe you would have to create 100 of the item, and create this trigger 100 times.....
ACTION: Give (item upgraded) to (unit)
give that a try. :mrgreen:
 
hmm... using triggers i think is what you would end up doing. soemthing like this:
EVENT: Unit- unit picks up (item)
you would probly need to create a variable there or something, then name the item what the variable is.
CONDITION: Item = (the item with 100 peices)
CONDITION: If number of item is = to (1-100)
Now i believe you would have to create 100 of the item, and create this trigger 100 times.....
ACTION: Give (item upgraded) to (unit)
give that a try. :mrgreen:
 
Well I would give it a try if it looked like I knew what sections of the conditons and actions menu I have to go to?

Shikon Jewel
Events
Unit - A unit Acquires an item
Conditions
Shikon Jewel Equal to Shikon_jewelarray[1]
(Min(1.00, 100.00)) Equal to (Current life of (Last created item))
Actions

the array is 100 on the jewel

is this what you mean?
 
well, did that work? otherwise i don't exactly know what to do- i know its possible because blizzard did it in thier campaign. But im' not sure how, sorry :?
 
Yeah I've lloked at undead lvl 4 on roc and night elf lvl 3 on tft. the way they got this kind of set up is very complex, but I know they can make it simple.
They just do it so it is hard to copy there ideas: even by mixing quest triggers in other triggers so you can't get to all the triggers.
 
Status
Not open for further replies.
Back
Top