Unit Kill Minerals (loop stops at two?)
Posted: Sun Dec 23, 2007 12:26 am
Alright, now, here is the background information before I display the triggers:
This is a mass-map... Somewhat. This will remind some of 'footmen frenzy' in warcraft III, but, without the heros and items.
I've tested the upgrade tiers, and all the other things that I put it, they work great!
Now, the only way you can upgrade a tier, or do any upgrades, or buy add-on units(such as a dark archon for example) is, of course, you need minerals. But, the only way to get these so called minerals is to kill other units. All units have a specific mineral kill count. So, if I killed a marine, I get 15 minerals. If I kill a zealot, I get 20 minerals. If I kill a zergling, I get 10, etc. So, now, I present my trigger that fails after working twice.
This is just -one-, cause they are all practically the same.
Conditions:
Current Player kills exactly 1 Terran Marine.
Actions:
Modify resources for Current Player: Add 15 ore
Preserve trigger
What's interesting is that, it will work twice, but then never ever work again. So I can no longer get minerals at all.
Suggestions?
This is a mass-map... Somewhat. This will remind some of 'footmen frenzy' in warcraft III, but, without the heros and items.
I've tested the upgrade tiers, and all the other things that I put it, they work great!
Now, the only way you can upgrade a tier, or do any upgrades, or buy add-on units(such as a dark archon for example) is, of course, you need minerals. But, the only way to get these so called minerals is to kill other units. All units have a specific mineral kill count. So, if I killed a marine, I get 15 minerals. If I kill a zealot, I get 20 minerals. If I kill a zergling, I get 10, etc. So, now, I present my trigger that fails after working twice.
This is just -one-, cause they are all practically the same.
Conditions:
Current Player kills exactly 1 Terran Marine.
Actions:
Modify resources for Current Player: Add 15 ore
Preserve trigger
What's interesting is that, it will work twice, but then never ever work again. So I can no longer get minerals at all.
Suggestions?