• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!

One player allied with 2 Teams possible?

Status
Not open for further replies.
Level 2
Joined
Nov 25, 2012
Messages
5
Hey guys, i want to create a map, in which one player is allied with 2 Teams.

So there is Team one (3 Players) that is an enemy of Team two (another 3 Players)

Player 7 should be allied with both, but should have other enemys.

Any way to do that? Would be awesome if you know a way!
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
  • Actions
    • Player Group - Make (All players) treat Player Group - Player 7 (Green) as an Ally with shared vision
    • Player Group - Make Player Group - Player 7 (Green) treat (All players) as an Ally with shared vision
  • Actions
    • Player Group - Make (All players) treat Player Group - Player 7 (Green) as an Ally with shared vision
    • For each (Integer A) from 1 to 6, do (Actions)
      • Loop - Actions
        • Player - Make Player 7 (Green) treat (Player((Integer A))) as an Ally with shared vision
Player Group - Set Alliance

This will make Player 7 allied with Player 1 ~ Player 6, but enemies to Player 8 ~ Player 12
 
Last edited:
Status
Not open for further replies.
Top