- Joined
- Jul 1, 2008
- Messages
- 1,314
Does Someone know, how i can save Dialogs created by the native
DialogAddButton(Dialog, "Title", 'Hotkey')?
I made the trigger below and i found out, that (Last created dialog Button) doesnt refer to the dialog buttons created by this function...
This is very bad for me as i wanted to have hotkeys for those dialogues.
Does someone know, what i should put instead of (Last created dialog Button)?
Hope u could help me fast
Greetings
DialogAddButton(Dialog, "Title", 'Hotkey')?
I made the trigger below and i found out, that (Last created dialog Button) doesnt refer to the dialog buttons created by this function...
This is very bad for me as i wanted to have hotkeys for those dialogues.
Does someone know, what i should put instead of (Last created dialog Button)?
-
Aktionen
- Dialog - Clear Dialog
- Dialog - Change the title of Dialog to Hauptmenu
- Custom script: call DialogAddButton(udg_Dialog, "|c0000ff00S|ratistik", 'S')
- Set DButton_Statistik = (Last created dialog Button)
- Custom script: call DialogAddButton(udg_Dialog, "|c0000ff00N|rachrichten", 'N')
- Set DButton_Nachrichten = (Last created dialog Button)
- Custom script: call DialogAddButton(udg_Dialog, "|c0000ff00B|rauen", 'B')
- Set DButton_Bauen = (Last created dialog Button)
- Dialog - Show Dialog for (Triggering player)
Hope u could help me fast
Greetings