Yamuraiha
Member
- Reaction score
- 1
These are my 2 triggers
The second one work, the first one doesn't, why ?
Trigger:
- Upgrade Unit
- Events
- Time - Every 5.00 seconds of game time
- Conditions
- Actions
- Set Computer_unit_upgrade = (Computer_unit_upgrade + 1)
- Player Group - Pick every player in (All players matching (((Picked player) controller) Equal to Computer)) and do (Player - Set the current research level of Computer's Unit to Computer_unit_upgrade for (Picked player))
- Events
Trigger:
- Upgrade Unit
- Events
- Time - Every 5.00 seconds of game time
- Conditions
- Actions
- Set Computer_unit_upgrade = (Computer_unit_upgrade + 1)
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked player) controller) Equal to Computer
- Then - Actions
- Player - Set the current research level of Computer's Unit to Computer_unit_upgrade for (Picked player)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Events
The second one work, the first one doesn't, why ?