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

How to make item upgrade system? help?

Status
Not open for further replies.
Level 13
Joined
Jun 5, 2008
Messages
504
I need system kinda like in battle tanks.

You buy item --> add ability to unit

And i need system that does this:

you click bought item (ability costs gold) --> level of ability increases.

this system will be used in my map: portals. I havent really played around with items so no idea if there is ability that costs gold or something.
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
  • Events
    • Unit - a unit acquires an item
  • Conditions
    • level of ability "baaam" for triggering unit equal to 0
    • item being manipulated equal to baaam item
  • Actions
    • add ability baaam to triggering unit
  • Events
    • Unit - a unit acquires an item
  • Conditions
    • level of ability "baaam" for triggering unit bigger than 0
    • item being manipulated equal to baaam item
  • Actions
    • set level of baaam for triggering unit = (level of baaam + 1)
baaam is the ability, "baaam item" is the item
 
Level 13
Joined
Jun 5, 2008
Messages
504
  • Events
    • Unit - a unit acquires an item
  • Conditions
    • level of ability "baaam" for triggering unit equal to 0
    • item being manipulated equal to baaam item
  • Actions
    • add ability baaam to triggering unit
  • Events
    • Unit - a unit acquires an item
  • Conditions
    • level of ability "baaam" for triggering unit bigger than 0
    • item being manipulated equal to baaam item
  • Actions
    • set level of baaam for triggering unit = (level of baaam + 1)
baaam is the ability, "baaam item" is the item

but is baam ability that costs gold? is there a way to make that...
 
Status
Not open for further replies.
Top