Hello guys
,
i have a problem because I can't find some sort of system that gives only one player the control of his units. After a several amount of time like 60 secs the next player should get the control over his units.
I have made a system that picks the player after a leaderboard.
So my only problem is the part of giving just one player the control.
Here are my triggers:
and sry for my bad english

i have a problem because I can't find some sort of system that gives only one player the control of his units. After a several amount of time like 60 secs the next player should get the control over his units.
I have made a system that picks the player after a leaderboard.
So my only problem is the part of giving just one player the control.
Here are my triggers:
-
Leaderboard
-
Ereignisse
-
Zeit - Elapsed game time is 0.00 seconds
-
-
Bedingungen
-
Aktionen
-
Bestenliste - Create a leaderboard for (All players) titled Rundenreihenfolge
-
Spielergruppe - Pick every player in (All players) and do (Actions)
-
Schleifen - Aktionen
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Bedingungen
-
((Picked player) controller) Gleich Benutzer
-
((Picked player) slot status) Gleich Spielt
-
-
'THEN'-Aktionen
-
Bestenliste - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
-
-
'ELSE'-Aktionen
-
-
-
-
Bestenliste - Zeigen (Last created leaderboard)
-
-
-
LeaderboardR
-
Ereignisse
-
Zeit - Elapsed game time is 0.01 seconds
-
-
Bedingungen
-
Aktionen
-
Set PickReihenfolge = (PickReihenfolge + 1)
-
Spielergruppe - Pick every player in (All players matching ((((Matching player) controller) Gleich Benutzer) and (((Matching player) slot status) Gleich Spielt))) and do (Actions)
-
Schleifen - Aktionen
-
Bestenliste - Change the value for (Picked player) in (Last created leaderboard) to PickReihenfolge
-
-
-
-
-
Timer
-
Ereignisse
-
Zeit - rundenTimer expires
-
-
Bedingungen
-
Aktionen
-
Set maxPlayser = PickReihenfolge
-
For each (Integer A) from 1 to PickReihenfolge, do (Actions)
-
Schleifen - Aktionen
-
Set Player_Control = (Player in position PickReihenfolge of (Last created leaderboard))
-
Countdown-Timer - Destroy (Last created timer window)
-
Countdown-Timer - Start rundenTimer as a Einmalig timer that will expire in 60.00 seconds
-
Countdown-Timer - Create a timer window for (Last started timer) with title Zeit für die Runde...
-
Wait 60.00 seconds
-
-
-
-
and sry for my bad english