- Joined
- May 20, 2008
- Messages
- 433
I'm creating a map with an "infinite" amount of levels. After each level, an upgrade is researched for the enemy. The problem is that the upgrade level will not increase more then 1 when called.
This works:
I need a way to have it go for ~100 or so levels, so that I only need about 10 upgrades with 100 levels each. I currently have to make individual upgrades, and having them be researched once needed. This does create a lot of extras that are not needed. Any help is appreciated. Thanks in advance.
For those who need to see the entire bit of the trigger involving this:
This works:
-
Player - Set the current research level of Upgrade 1 (A) to 1 for Player 7 (Green)
-
Player - Set the current research level of Upgrade 1 (A) to 2 for Player 7 (Green)
I need a way to have it go for ~100 or so levels, so that I only need about 10 upgrades with 100 levels each. I currently have to make individual upgrades, and having them be researched once needed. This does create a lot of extras that are not needed. Any help is appreciated. Thanks in advance.
For those who need to see the entire bit of the trigger involving this:
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Series_number Equal to 1
-
-
Then - Actions
-
Player - Set the current research level of Upgrade 1 (A) to 1 for Player 7 (Green)
-
Set Upgrade_level = (Upgrade_level + 1)
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Series_number Equal to 2
-
-
Then - Actions
-
Player - Set the current research level of Upgrade 1 (B) to 1 for Player 7 (Green)
-
Set Upgrade_level = (Upgrade_level + 1)
-
-
Else - Actions
-