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

One dialog for many players

Status
Not open for further replies.
Level 7
Joined
Nov 18, 2012
Messages
272
  • Set Player = (Player number of (Owner of (Triggering unit)))
  • Dialog - Clear Dialog[Player]
  • Dialog - Change the title of Dialog[Player] to String
  • For each (Integer Loop) from 1 to 6, do (Actions)
    • Dialog - Create a dialog button for Dialog[Player] labelled Label
    • Set DialogButton[Loop] = (Last created dialog Button)
  • Dialog - Create a dialog button for LevelUpDialog[Player] labelled Cancel
  • Set DialogButton[7] = (Last created dialog Button)
  • Dialog - Show Dialog[Player] for (Player(Player))
Hope this helps...

You'll have to write the strings yourself...

And do the actions.
 
Sorry for that, I just dont like when people answer just to get rep.
And I am sorry that I cannot post triggers (I am on cell phone).
But can you then at least guess what is problem? I have checked unit group, it is fine, I have checked picking units and actions and it is fine, should I repeat trigger 12 times?

EDIT: faestus, that might help, will check it later.
EDIT2: it works, thank you man. +rep.
Solved you may close the thread :)
 
Last edited:
Status
Not open for further replies.
Top