• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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
891
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