- Joined
- Dec 16, 2017
- Messages
- 418
Hello guys, how can i turn this into an easier way to involve in more upgrades? What i was thinking to work, doesn't go as i wanted..I wanted to use 20 levels of this [Unit Training] and how can i do it with a loop from like 1 to 20 use the upgrade equal to the loop of 1 20.. or something like that
-
Unit Training
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Item-type of (Item being manipulated)) Equal to Unit Training
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
UnitTraining Equal to 0
-
-
Then - Actions
-
Set UnitTraining = 1
-
Player - Set the current research level of Units Training Stats to 1 for Player 11 (Dark Green)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
UnitTraining Equal to 1
-
-
Then - Actions
-
Set UnitTraining = 2
-
Player - Set the current research level of Units Training Stats to 2 for Player 11 (Dark Green)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
UnitTraining Equal to 2
-
-
Then - Actions
-
Set UnitTraining = 3
-
Player - Set the current research level of Units Training Stats to 3 for Player 11 (Dark Green)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
UnitTraining Equal to 3
-
-
Then - Actions
-
Set UnitTraining = 4
-
Player - Set the current research level of Units Training Stats to 4 for Player 11 (Dark Green)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
UnitTraining Equal to 4
-
-
Then - Actions
-
Set UnitTraining = 5
-
Player - Set the current research level of Units Training Stats to 5 for Player 11 (Dark Green)
-
Neutral Building - Remove Unit Training from all marketplaces
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
UnitTraining Equal to 5
-
-
Then - Actions
-
Game - Display to (All players) the text: Unit Training is at...
-
Player - Add 5 to (Owner of (Triggering unit)) Current lumber
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
-