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

native DialogAddButton(Dialog, "Name", 'Hotkey') [b]BUGG[/b]

Status
Not open for further replies.
Level 14
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)?

  • 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 :D

Greetings
 
Status
Not open for further replies.
Top