- Joined
- Oct 12, 2011
- Messages
- 3,449
guys, I have a very strange situation here.. I have function
and then call it
answer
JASS:
function ShowMenu takes nothing returns nothing
call DialogClear(dia)
call DialogSetMessage(dia, "Menu" )
set but[1] = DialogAddButton( dia, "Play", 0 )
set but[2] = DialogAddButton( dia, "High Score", 1 )
set but[3] = DialogAddButton( dia, "Statistic", 2 )
set but[4] = DialogAddButton( dia, "Achievments", 3 )
set but[5] = DialogAddButton( dia, "Quit Game", 4 )
call DialogDisplay(Player(0), dia, true)
endfunction
and then call it
-
Open
-
Events
- Time - Elapsed game time is 1.00 seconds
- Conditions
-
Actions
- Custom script: call ShowMenu()
-
Events
answer
JASS:
set dia = DialogCreate()
Last edited: