• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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 13
Joined
Nov 4, 2006
Messages
1,239
  • 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