• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Make player to allys

Status
Not open for further replies.
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Hmm I want to create a alliance from all players to all players without Player 11 and Player 12.

I try to use this:
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Picked player) Not equal to Player 11 (Dark Green)
          • (Picked player) Not equal to Player 12 (Brown)
        • Then - Actions
          • Player Group - Make (Player group((Picked player))) treat (Player group((Picked player))) as an Ally with shared vision
        • Else - Actions
Somehow this sounds not bad but doesn't work <--- can someone help me? =)

1) No I need to do this with the trigger I can't use the force properties
2) Spoon: Don't try to answer here :wsmile:
 
Level 10
Joined
Nov 3, 2009
Messages
687
This works... For me it worked...

  • Friends
    • Events
      • Unit - A unit owned by Player 1 (Red) Is attacked
      • Unit - A unit owned by Player 2 (Blue) Is attacked
      • Unit - A unit owned by Player 3 (Teal) Is attacked
      • Unit - A unit owned by Player 4 (Purple) Is attacked
      • Unit - A unit owned by Player 5 (Yellow) Is attacked
      • Unit - A unit owned by Player 6 (Orange) Is attacked
      • Unit - A unit owned by Player 9 (Gray) Is attacked
      • Unit - A unit owned by Neutral Passive Is attacked
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Attacking unit)) Equal to Player 1 (Red)
          • (Owner of (Attacking unit)) Equal to Player 2 (Blue)
          • (Owner of (Attacking unit)) Equal to Player 3 (Teal)
          • (Owner of (Attacking unit)) Equal to Player 4 (Purple)
          • (Owner of (Attacking unit)) Equal to Player 5 (Yellow)
          • (Owner of (Attacking unit)) Equal to Player 6 (Orange)
    • Actions
      • Unit - Order (Attacking unit) to Stop
And other

  • Ally
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Player - Make (Owner of (Triggering unit)) treat Player 9 (Gray) as an Ally
      • Player - Make (Owner of (Triggering unit)) treat Player 5 (Yellow) as an Ally
      • Player - Make (Owner of (Triggering unit)) treat Player 6 (Orange) as an Ally
      • Player - Make (Owner of (Triggering unit)) treat Player 4 (Purple) as an Ally
      • Player - Make (Owner of (Triggering unit)) treat Player 3 (Teal) as an Ally
      • Player - Make (Owner of (Triggering unit)) treat Player 2 (Blue) as an Ally
      • Player - Make (Owner of (Triggering unit)) treat Player 1 (Red) as an Ally
      • Trigger - Turn on Friends <gen>

Huh dude... You made me unhappy...

Dr. Boom

2) Spoon: Don't try to answer here
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Jeah Slaydon owns all <-- works - thanks - +rep

And Spoon =S I want make an alliance between them. I know this "attacking" stuff, but this wasn't that what I needed - sorry =(, also Slaydons trigger is faster and better

[ Sorry need spread some +rep around - You will get it later Slaydon ^^ ]
 
Level 5
Joined
Jan 23, 2009
Messages
184
Hmmm,,, I know there are many suggestions, but I am agree with spoontoobig, but here is my suggestion. Just do as on the picture and continue making alliances
164814-albums2778-picture23016.jpg
 
Status
Not open for further replies.
Top