Hey, I've been trying to figure out how to give custom hotkeys to my items inside the map without having the player to specify a custom hotkey text file or using the grid hotkey option. Using GUI Key event: GUIKeyEvent 1.4a - I got close, I was able to hotkey items through 1-6 to be used, but unfortunately it only basically works for instant items such as health potions. If the item is targeted instead of instant, (such as healing salve, for example) it would not work unless I triggered it to specifically target a specific unit, but that would make no sense for most situations where the player wants to choose the target whilst using an item hotkey.
When I changed the hotkey layout to "grid", I was able to make it work via Force UI Key press. However, using the classic hotkeys I'm unable to make hotkeys such as NUMPAD 7 work with a Forced UI press. The GUI Key event registers "NUMPAD 7" as an "N" key press.
So is there any workaround for this which excludes forcing players to switch to grid hotkey layout, or forcing players to use & modify custom hotkey file? LUA is out of question because my map is in JASS & GUI. Any ideas I'd love to hear!
When I changed the hotkey layout to "grid", I was able to make it work via Force UI Key press. However, using the classic hotkeys I'm unable to make hotkeys such as NUMPAD 7 work with a Forced UI press. The GUI Key event registers "NUMPAD 7" as an "N" key press.
So is there any workaround for this which excludes forcing players to switch to grid hotkey layout, or forcing players to use & modify custom hotkey file? LUA is out of question because my map is in JASS & GUI. Any ideas I'd love to hear!