InitDialogs by 3ICE

Events


-- You can't do this at Map Initialization,


-- so use the "Elapsed Game Time" event



Time - Elapsed game time is 0.00 seconds

Conditions

Actions



-------- Clearing is not necessary, but it won't hurt. --------


Dialog - Clear var_Dialog



-------- Set a title: --------


Dialog - Change the title of var_Dialog to Select difficulty:



-------- Create an Easy button --------


Dialog - Create a Dialog button for var_Dialog labelled Easy


Set var_DialogalogButtonArray[0] = (Last created Dialog Button)



-------- Create a Medium button --------


Dialog - Create a Dialog button for var_Dialog labelled Medium


Set var_DialogalogButtonArray[1] = (Last created Dialog Button)



-------- Create a Hard button --------


Dialog - Create a Dialog button for var_Dialog labelled Hard


Set var_DialogalogButtonArray[2] = (Last created Dialog Button)



-------- Finally we show the Dialog to Red --------


Dialog - Show var_Dialog for Player 1 (Red)