| 09-25-2002, 09:57 PM | #1 |
I was wondering if anyone know how to activate a trigger by pushing a button ( an event probably ) on the kepboard such as Esc, such as the one to activate the item swapping system in Zelda Open RPG, or had a list of hotkeys and there numerical counterparts I could have? |
| 09-26-2002, 02:27 AM | #2 |
Eh, dialog buttons get their hotkeys from the numerical counterparts you speak of, but I dunno what they are. Search for 'virtual keybord' on MSDN. Units just use plain ol hotkeys in the unit editor. There's no built in event for detecting any key press -- except Escape, use the "player skips a cinematic" event. There have been huge discussions on how to get keyboard control working for other stuff, search the forums. |
| 09-26-2002, 08:58 AM | #3 |
Guest | The dialog keys are a sticky for goodness sake http://wc3campaigns.com/forums/showt...&threadid=1688 |
| 09-26-2002, 04:42 PM | #4 |
Could someone write an event in JASS script that would enable a trigger to react to a keystroke. The item system and buy unit system won’t work for me because i need it to react to numbers and arrow. I know Esc was used in Ganon’s Zelda Open RPG to toggle on item cache on and off. I don't need dialogs but I just did notice the numbers for the keys. The build units used in medal marines helps but it can only react to letters not unless you know another way to do it. I need something for the arrows keys specifically. Could someone help me with this? |
| 09-26-2002, 09:02 PM | #5 |
Guest | Nope. You'd probably have to use dialogs. |
