• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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