• 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.

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?
 
Level 2
Joined
Jul 4, 2005
Messages
15
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:
 
Level 2
Joined
Jul 4, 2005
Messages
15
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:
 
Level 2
Joined
Jun 25, 2005
Messages
16
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?
 
Level 2
Joined
Jul 4, 2005
Messages
15
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 :?
 
Level 2
Joined
Jun 25, 2005
Messages
16
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.
Top