• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How to give control to other players when there's a leaver?

Status
Not open for further replies.
Level 1
Joined
Mar 10, 2008
Messages
3
I'm making this multi-player map and I need to know the trigger or what to do to allow control of other people's units when they leave the game? I hate it when your allies leave and you're stuck with uneven teams. What trigger or setting do I need to allow control of leavers' units/buildings? I searched through the forum for help but couldn't find any topic on it. Any help/suggestion will be appreciated. Thanks in advance.
 
Level 22
Joined
Feb 26, 2008
Messages
892
You have a couple of options.
You could pick all of the units owned by that player and change the owner to some player that is still in the game.
Or you could use the Set Aspect of Alliance trigger actions. I think they're under the Player heading in the trigger editor. If not there, try Game. Those could allow you to set the alliance such that there is full shared unit control, or so.
 
Level 4
Joined
Dec 16, 2007
Messages
134
  • Untitled Trigger 012
    • Events
      • Player - Player 1 (Red) leaves the game
      • Player - Player 2 (Blue) leaves the game
      • Player - Player 3 (Teal) leaves the game
      • Player - Player 4 (Purple) leaves the game
      • Player - Player 5 (Yellow) leaves the game
      • Player - Player 6 (Orange) leaves the game
      • Player - Player 7 (Green) leaves the game
      • Player - Player 8 (Pink) leaves the game
      • Player - Player 9 (Gray) leaves the game
      • Player - Player 10 (Light Blue) leaves the game
      • Player - Player 11 (Dark Green) leaves the game
      • Player - Player 12 (Brown) leaves the game
    • Conditions
    • Actions
      • Player Group - Pick every player in (All allies of (Triggering player)) and do (Actions)
        • Loop - Actions
          • Game - Grant shared vision and full shared unit control of (Picked player) units with his/her allies
 
Status
Not open for further replies.
Top