Dialog Button Hotkey

Sevion

The DIY Ninja
Reaction score
413
You have to do a trigger that fires on keyboard key press and fire the according trigger associated with the button.
 

Sevion

The DIY Ninja
Reaction score
413
Looking at the available actions for dialogs, there is nothing for hotkeys that I see.
 

Frozenwind

System maker
Reaction score
99
I'm afraid Sevion is right. Make a trigger with that event and run the same trigger as when the button is pressed manually, but then ignoring conditions (as you probably have a dialogitem condition). There simply doesn't seem another way.
 

Im_On_56k

Hm...
Reaction score
116
Yea that workaround is something I don't want to do. I am just trying to avoid events that state "only register for this event when you absolutely need it". I could of swore wc3 had a specific dialog function that allowed you to assign a hotkey, but I could be wrong.
 

Frozenwind

System maker
Reaction score
99
I can't remember wc3 had one o.o

Oh well, if you use a hotkey which is rarely used, I guess it's do-able. Of course an event like "on left mouse click" is a bad idea to use, but something like F1 or something should work out perfectly.
Besides, I don't think the hotkey registers if you are typing (in case you use characters like QWERTY...)
 

Arkless

New Member
Reaction score
31
Yea that workaround is something I don't want to do. I am just trying to avoid events that state "only register for this event when you absolutely need it". I could of swore wc3 had a specific dialog function that allowed you to assign a hotkey, but I could be wrong.

Well, in wc3 you could only have 1 dialog visible at a time :p and allowing you to use a hotkey whenever you want is a better option then just allowing it while you see a dialog.

And for the "registor only when you absolutely need it"... Do what they say, disable the trigger as long as you don't see the dialog (instead of using a condition to catch that).
 

Arkless

New Member
Reaction score
31
Well with what I am doing it would have to always enabled.
That sounds like you only want 1 trigger at most per key, so that should be totally ok. I thought you wanted to use multiple hokeys per key for different dialogs :p

You simply aren't supposed to spam that event, like creating 10 different triggers with the same hotkey (note that creating events for different keys makes no difference, since they normally won't be pressed at the same time), because they all fire a net traffic event.
 

Im_On_56k

Hm...
Reaction score
116
That sounds like you only want 1 trigger at most per key, so that should be totally ok. I thought you wanted to use multiple hokeys per key for different dialogs :p

You simply aren't supposed to spam that event, like creating 10 different triggers with the same hotkey (note that creating events for different keys makes no difference, since they normally won't be pressed at the same time), because they all fire a net traffic event.
The event states it fires from every key pressed. Not just the one you assign it to. So if several kids in your game decide to faceroll when there are several game heavy moments happening it would generate some unwanted and uneeded lag. I would be assigning several hotkeys for several dialogs too. Not sure what you are trying to say here. In the end I will be avoiding this event.
 

Arkless

New Member
Reaction score
31
The event states it fires from every key pressed. Not just the one you assign it to. So if several kids in your game decide to faceroll when there are several game heavy moments happening it would generate some unwanted and uneeded lag. I would be assigning several hotkeys for several dialogs too. Not sure what you are trying to say here. In the end I will be avoiding this event.

Reading the english description of what the event does that might even be true. But if it's that way, you could just use "any" key and use a switch action to get the right action for it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top