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

Pick every player for dialog

Status
Not open for further replies.
  • Player Group - Pick every player in allplayers and do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Picked player) slot status) Equal to Is playing
        • Then - Actions
          • Dialog - Create a dialog button for ChangeOwner labelled (|cff00ff00 + (Name of (Picked player)))
          • Set ChangeOwnerDialogs[(Player number of (Picked player))] = (Last created dialog Button)
        • Else - Actions
I just wanted to ask if this would work, meaning that the name on the dialog buttons correspond to the player's number
 
Status
Not open for further replies.
Top