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

GUI-friendly Dialog system that allows hotkeys?

Status
Not open for further replies.
Level 3
Joined
May 5, 2007
Messages
21
I'm looknig for a way to create dialogs with hotkeys, and as i'm a gui-user i'm kinda out on deep water so to speak.

My question is: has this ever been done, can it be done?
 
Level 13
Joined
Aug 4, 2012
Messages
1,022
[trigger=Dialog]
Events
Time - Elapse time are 0.02 second
Conditions
Actions
Dialog - Clear Dialog ( Your Dialog )
Dialog - Chage Title ( Your New Title ) for ( Your Dialog )
Dialog - Create Dialog Button labeled ( Your Labels )With Hotkey ( Your Keys ) for ( Your Dialog )
Set ( Your Dialog Button ) = Last Created Dialog Button[/trigger]

For that new function is only can finded on World Editor Unlimited or Jass New Generation Pack
 
Level 3
Joined
May 5, 2007
Messages
21
[trigger=Dialog]
Events
Time - Elapse time are 0.02 second
Conditions
Actions
Dialog - Clear Dialog ( Your Dialog )
Dialog - Chage Title ( Your New Title ) for ( Your Dialog )
Dialog - Create Dialog Button labeled ( Your Labels )With Hotkey ( Your Keys ) for ( Your Dialog )
Set ( Your Dialog Button ) = Last Created Dialog Button[/trigger]

For that new function is only can finded on World Editor Unlimited or Jass New Generation Pack

isn't unlimited really outdated and buggy? If possible i would rather look for another solution.

If else, as i have never used unlimited, is it possible to create the dialog in unlimited and then swap to jngp again?
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
there is only
  • Actions
    • Dialog - Show (Clicked dialog) for Player 1 (Red)
    • Dialog - Change the title of (Clicked dialog) to hh
    • Dialog - Create a dialog button for (Clicked dialog) labelled jj
    • Dialog - Clear (Clicked dialog)
in JNGP.
There however is system(its in vJass tho)
http://www.wc3c.net/showthread.php?t=97425
Cohadar said:
Because this one is easier, really it is a piece of cake, just look at the code in the map.

@PandaMine
No you have to use hotkeys, this sys is based on hotkeys after all,
you don't have to highlight what is the buttons hotkey with |cffffcc00X|r
but you need it for the result.

I made this because I was sick of getting buttons as a result and then mapping them back to what I want, using hotkeys is much easier.

You can replace ABC with HSAS ofc.
 
Status
Not open for further replies.
Top