1 button to upgrade damage, 1 button to upgrade attack speed, & 1 button to upgrade attack range.
Each upgrade will require a specific amount of minerals to successfully upgrade. And should be able to upgrade infinitely with the cost of minerals required increasing each time. Also the upgrade should only affect that 1 specific unit.
You may be able to do this with fairly simple triggers, try using the "Button Pressed" event. For changing the units' properties, there's an action for that too (Set Unit Property). To determine the mineral amount, you could write a little formula using the units' current properties.
I haven't explored these functions, so they may be more complicated than this, or not work at all.
I have about 8 unique units on my map.
I want to give each of them 3 buttons.
1 button to upgrade damage, 1 button to upgrade attack speed, & 1 button to upgrade attack range.
Each upgrade will require a specific amount of minerals to successfully upgrade. And should be able to upgrade infinitely with the cost of minerals required increasing each time. Also the upgrade should only affect that 1 specific unit.
How do I get started with something like this?
You may be able to do this with fairly simple triggers, try using the "Button Pressed" event. For changing the units' properties, there's an action for that too (Set Unit Property). To determine the mineral amount, you could write a little formula using the units' current properties.
I haven't explored these functions, so they may be more complicated than this, or not work at all.
@rayquaza11: Go
thanks ill give it a try