DuelPlayer
Member
- Reaction score
- 21
I tried many methods to try to remove units of unused computers and empty slots. But all didnt work. Below is just an example. It did not work. So I hope anyone can find me a good working method! +rep if it works
Trigger:
- 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 User
- Or - Any (Conditions) are true
- Conditions
- ((Picked player) slot status) Not equal to Is unused
- ((Picked player) slot status) Not equal to Has left the game
- Conditions
- Then - Actions
- Player - Set (Picked player) Current gold to 5000
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Picked player) Not equal to Player 6 (Orange)
- Then - Actions
- Unit Group - Pick every unit in (Units in Player_Total_Region[(Player number of (Picked player))]) and do (Actions)
- Loop - Actions
- Unit - Add a 0.01 second Generic expiration timer to (Picked unit)
- Loop - Actions
- Unit Group - Pick every unit in (Units in Player_Total_Region[(Player number of (Picked player))]) and do (Actions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions