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

[Trigger] Why does it not work?

Status
Not open for further replies.
Level 17
Joined
Jun 12, 2007
Messages
1,261
This trigger does not work for me:

  • For each (Integer A) from 1 to 8, do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Player((Integer A))) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for GameStats item in column 1, row ((Integer A) + 1) to (PlayerColor[(Integer A)] + (Name of (Player((Integer A)))))
          • Multiboard - Set the text for GameStats item in column 2, row ((Integer A) + 1) to (PlayerColor[7] + Alive)
          • Multiboard - Set the text for GameStats item in column 4, row ((Integer A) + 1) to (String(PlayerKills[(Player number of (Player((Integer A))))]))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • PlayerRessurectsUnlimited Equal to False
            • Then - Actions
              • Multiboard - Set the text for GameStats item in column 5, row ((Integer A) + 1) to (String(PlayerRessurects[(Player number of (Player((Integer A))))]))
            • Else - Actions
              • Multiboard - Set the text for GameStats item in column 5, row (Player number of (Player((Integer A)))) to Unlimited
        • Else - Actions
          • Multiboard - Set the text for GameStats item in column 1, row (Player number of (Player((Integer A)))) to |cff949596N/A
I will set the name of player red just fine, but when there are multiple players it will just freak out and fill in N/A instaid of their names.
 
Status
Not open for further replies.
Top