Count Allies

Leo

New Member
Reaction score
14
If I pick all allies of player red, does it only pick everyone who a 2 way alliance with red, or does it also pick players who are allied to red but he is not allied back, or players that red has allied but the other player has not allied red back.
 
I

IKilledKEnny

Guest
When you pick all allies of a player it will pick all players that the picked players reacts to them as ally. It doesn't matter how they react to him. Thus:

red is ally of blue and teal enemy of purple
blue is enemy of red ally of teal enemy of purple
teal is ally of red enemy of blue enemy of purple
purple enemy to all

Picking allies of red will result:
red, blue, teal

picking allies of blue will result:
blue, teal

picking allies of teal will result:
red, teal

picking allies of purple will result:
purple
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
u were a bit of wrong if red will pick his allies then he is not counted in so it would be:
Picking allies of red will result:
blue, teal

same for the rest
 
I

IKilledKEnny

Guest
Doom-Angle I tested it, a player in default will consider himself an ally. You can avoinding picking him also by doing:

Code:
Set Temp_Force = All allies of (triggering player) matching ((matching player) is equal to (triggering player) equal to false)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top