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!
You firstly have to wait until after map initialization (it will not work therwise), this means a delay of 0 (yes 0 is a delay as long as it is not run on map init) or more (I advise a few seconds after map init atleast or anytime during gameplay).
Then you have to create the main frame with the tital text.
Then you add your buttons to the frame with the text to match what each does.
Finally you display the dialog.
Remember that you will probably have to store the fram and buttons in variables of the corrosponding type for use later. You then run a trigger with an event that fires when a button is pressed in the dialog and check if the pressed button matches the stored ones. If it does than that button was pressed so run the actions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.