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

All Allies of Player?

Status
Not open for further replies.
Level 12
Joined
Sep 11, 2011
Messages
1,176
Does "All Allies of Player" include the player itself?
  • Player Group - Pick every player in (All allies of (Owner of (Hero manipulating item))) and do (Actions)

Hero Manipulating Item >>> (Triggering unit)

EDIT :
you could test them yourself, by creating a new blank map and put this

  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • Set Count = (Count + 1)
          • Game - Display to (All players) the text: (String(Count))
see if the count is 1, then Player 1 is considered the allies of Player 1.
if the count is 0, then no.

EDIT 2 : errrr, yes, it count Player 1 as allies too.. have tested them just now.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Does "All Allies of Player" include the player itself?
Just so you know, Blizz spent quite some time giving information on almost every function, it is very useful to read that first.
QvsgZ.png
 
Status
Not open for further replies.
Top