| 10-26-2003, 04:53 PM | #1 |
I can't figure out how to make a trigger that causes players to share control their units when they leave or when the game starts without someone. Any help? I've tried... Putting the seperate forces into seperate Player Groups, and having the game check every 2 seconds to see if Player Slot is empty or has left the game and make that player turn full shared control on all the other players in the group but it didn't seem to work... Here is what the trigger looked like: Events: Time - Every 2.00 Seconds of the Game Condition: None Action: -Pick every player in (All Players) and do (Actions) -If (All conditions are True) then do (Then Actions) else do (Else Actions) -If - Conditions: -((((Picked Player) slot status) Equal to Is Unused) or (((Picked Player) slot status) Equal to Has left the Game) and (((Picked Player) is in [Insert Player Group Variable] Equal to True) -Then - Actions: -Player - For (Picked Player), turn Full Shared Units On Towards Player 9 (Gray) -Player - For (Picked Player), turn Full Shared Units On Towards Player 11 (Dark Green) -Player - For (Picked Player), turn Full Shared Units On Towards Player 12 (Brown) -Else - Actions: -Do Nothing Whew... Thats the Entire trigger... Any suggestions/Help on how this will work??? emote_sweat emote_sweat |
| 10-26-2003, 05:27 PM | #2 |
Try this: Events Time - Every 2.00 seconds of game time Conditions (Player 1 (Red) slot status) Equal to Has left the game Actions Trigger - Turn off (This trigger) Game - Display to (All players) for 30.00 seconds the text: ((Name of Player 1 (Red)) + just left the game!) Sound - Play SecretFound <gen> Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies Just used "Copy as Text" from my map to get that, so it's exact. Its probably because you didn't use the "Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies" action. |
| 10-26-2003, 05:36 PM | #3 |
make sure you turn the trigger off after the condition becomes true, otherwise every 2 seconds it will just keep repeating it |
| 10-26-2003, 05:46 PM | #4 |
Thanks!!! I guess this trigger needs seperate triggers... Thanks for the help! :ggani: :ggani: :ggani: |
