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

Dialog box

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2006
Messages
3,406
A) did you even try before asking?
B) not a good idea. not in the slightest unless you have one or two as something just like "Hello, you are about to have an actualy important dialogue box when you click this". if the map lags at the start ,which happens A LOT, there will always be nubs spamming D D D D D and then when the lag stops they end up choosing like 5 things only pros do and lose the game b/c they were so busy hitting enter. like in the map Water War - Submerged you always have to tell people not to talk b/c a dialogue box pops up within like 5 seconds. some ways around this are having in-game warnings not to talk pop up a few seconds ahead or set up a few extra dialogue boxes just to cushion the fall from when they stop spamming D D D
 
Level 7
Joined
Dec 8, 2005
Messages
319
ok to get the dialog box to come up at the begining. then you have to set a timer to 0.01 sec and it will go as soon as the game starts but like teh said a warning is a good idea! but the dialog box wont work if you put the event map starting... other then that you got your answer!
 
Level 5
Joined
Mar 17, 2005
Messages
135
First you need to initialize it with this trigger.

Events
Time - Elapsed game time is 1.00 seconds
Actions
Dialog - Clear Dialog
Dialog - Change the title of Dialog to <Empty String>
Dialog - Create a dialog button for Dialog labelled a
Set Variable = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled |CFFFF0000Horde|R
Set Variable = (Last created dialog Button)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)

Then you have to make a trigger to tell what you want it to do after the person chooses the dialog.

Events
Dialog - A dialog button is clicked for Dialog
(Clicked dialog button) Equal to Value
 
Status
Not open for further replies.
Top