- Joined
- Nov 18, 2012
- Messages
- 272
Hey I want to make a map check if all the players are online and pass the controls.
This is the startup
Edit: NVM, it works, just not in the editor test run.
This is the startup
-
Events
-
Map initialization
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player 2 (Blue) slot status) Not equal to Is playing
-
(Player 3 (Teal) slot status) Not equal to Is playing
-
(Player 4 (Purple) slot status) Not equal to Is playing
-
-
Then - Actions
-
Unit - Change ownership of Wisp 0010 <gen> to Player 1 (Red) and Change color
-
Unit - Change ownership of Wisp 0000 <gen> to Player 1 (Red) and Change color
-
Unit - Change ownership of Wisp 0002 <gen> to Player 1 (Red) and Change color
-
Player - Set Player 1 (Red) Current gold to 800
-
Player - Set Player 1 (Red) Current lumber to (stlumb x 4)
-
-
Else - Actions
-
Player - Set Player 1 (Red) Current lumber to stlumb
-
Player - Set Player 2 (Blue) Current lumber to stlumb
-
Player - Set Player 3 (Teal) Current lumber to stlumb
-
Player - Set Player 4 (Purple) Current lumber to stlumb
-
Player - Set Player 3 (Teal) Current gold to 200
-
Player - Set Player 2 (Blue) Current gold to 200
-
Player - Set Player 1 (Red) Current gold to 200
-
Player - Set Player 4 (Purple) Current gold to 200
-
-
-
Events
-
Time - Elapsed game time is 60.00 seconds
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Proceed Equal to True
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Player 2 (Blue) slot status) Equal to Is unused
-
(Player 2 (Blue) slot status) Equal to Has left the game
-
-
-
-
Then - Actions
-
Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Player 1 (Red) slot status) Equal to Is unused
-
(Player 1 (Red) slot status) Equal to Has left the game
-
-
-
-
Then - Actions
-
Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Player 3 (Teal) slot status) Equal to Is unused
-
(Player 3 (Teal) slot status) Equal to Has left the game
-
-
-
-
Then - Actions
-
Game - Grant shared vision and full shared unit control of Player 3 (Teal) units with his/her allies
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Player 4 (Purple) slot status) Equal to Is unused
-
(Player 4 (Purple) slot status) Equal to Has left the game
-
-
-
-
Then - Actions
-
Game - Grant shared vision and full shared unit control of Player 4 (Purple) units with his/her allies
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Edit: NVM, it works, just not in the editor test run.