• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Native for hotkey event

Status
Not open for further replies.
Level 19
Joined
Aug 24, 2007
Messages
2,888
but you can make an invisible channel based ability hotkeyed to buttons you want
then detect them with triggers etc etc etc etc

And yea there is no native to detect when someone presses a character key
 
Aye, this question has been asked before and I answered it. In fact, I just answered one today. MindWorX is making an "IsKeyPressed" boolean native which will register if a key is pressed. Along with a periodic event, it should work.

Nothing to do but wait.

There many work arounds. The spellbook thing doesn't work and the invisible channel still takes up a space I think... And if you hover over it, despite it not having a tool tip, I think it will still create the bar thingy. But it is less conspicuous as an actual ability with an icon and everything.
 
Status
Not open for further replies.
Top