• 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.

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