I'm having trouble upgrading Protoss Air Weapons using triggers. It seems like each upgrade is individual so to speak, so they're not in the same tree. What I mean is that you don't have just one upgrade called "Protoss Air Weapons" with three levels, instead you have "Protoss Air Weapons 1", "Protoss Air Weapons 2", and "Protoss Air Weapons 3". This is very unfortunate for me because I want to upgrade Protoss Air Weapons when a certain unit reaches 3 / 6 / 9 kills and I have yet to find a way to do this. I can't find any Upgrade Variable type either
grateful for any help
edit: this is what I have so far:
[code]Tech Tree - Set Protoss Air Weapons Level 1 upgrade level to Untitled Variable 001 for player 1
Variable - Modify Untitled Variable 001: + 1[/code]
it seems to be working from Level 0 to Level 1 this way, but not from 1 to 2 or 2 to 3 which is kind of weird :S
For the first level upgrade, set Level 1 upgrade to 1 instead of 0 or 2+.
For the second level upgrade, take "Protoss Air Weapons Level 2" and set it to 1. NOT 0 or 2+.
For the third level upgrade, take "Protoss Air Wearpons Level 3" and set to 1. NOT 0 or 2+.
If you do anything above 1, it'll screw up the upgrade process. I don't know if you need all three upgrades in the trigger editor to be set to 1 at the same time to have the weapon fully upgraded or not, but that's what I learned from messing around with Zerg Missile Upgrades.
Okay, I was testing some weapon icons for my custom Hero. The icons change as they get upgraded right? Well, I don't want to wait for the upgrades from the Evo Chamber, so I basically put in the upgrades in the Initialization Trigger (so that it was upgraded when I started the map).
See my two attachments. The first one shows the three upgrades set. The second shows the result. You MUST set the level of the upgrade to 1. ALWAYS. Or it'll screw up the upgrades.
Now, this is an instant trigger, so I dunno if it helps you or not, but it shows that you can put all three upgrades in one trigger.
I'm having trouble upgrading Protoss Air Weapons using triggers. It seems like each upgrade is individual so to speak, so they're not in the same tree. What I mean is that you don't have just one upgrade called "Protoss Air Weapons" with three levels, instead you have "Protoss Air Weapons 1", "Protoss Air Weapons 2", and "Protoss Air Weapons 3". This is very unfortunate for me because I want to upgrade Protoss Air Weapons when a certain unit reaches 3 / 6 / 9 kills and I have yet to find a way to do this. I can't find any Upgrade Variable type either
grateful for any help
edit: this is what I have so far: [code]Tech Tree - Set Protoss Air Weapons Level 1 upgrade level to Untitled Variable 001 for player 1 Variable - Modify Untitled Variable 001: + 1[/code]
it seems to be working from Level 0 to Level 1 this way, but not from 1 to 2 or 2 to 3 which is kind of weird :S
What are you using for the 'Event'
This is what I learned:
For the first level upgrade, set Level 1 upgrade to 1 instead of 0 or 2+.
For the second level upgrade, take "Protoss Air Weapons Level 2" and set it to 1. NOT 0 or 2+.
For the third level upgrade, take "Protoss Air Wearpons Level 3" and set to 1. NOT 0 or 2+.
If you do anything above 1, it'll screw up the upgrade process. I don't know if you need all three upgrades in the trigger editor to be set to 1 at the same time to have the weapon fully upgraded or not, but that's what I learned from messing around with Zerg Missile Upgrades.
@Hoplite141: Go
Any Unit Dies.
@AegisRunestone: Go
that would work but I would like it all to be just one function in one trigger
You can do it in one trigger. I made the upgrades in my map in one trigger.
@AegisRunestone: Go
then I misunderstood what you meant. Could you explain how you made your trigger more precisely?
Okay, I was testing some weapon icons for my custom Hero. The icons change as they get upgraded right? Well, I don't want to wait for the upgrades from the Evo Chamber, so I basically put in the upgrades in the Initialization Trigger (so that it was upgraded when I started the map).
See my two attachments. The first one shows the three upgrades set. The second shows the result. You MUST set the level of the upgrade to 1. ALWAYS. Or it'll screw up the upgrades.
Now, this is an instant trigger, so I dunno if it helps you or not, but it shows that you can put all three upgrades in one trigger.