• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Issues with Keyboard Events

Status
Not open for further replies.

Cowicula

C

Cowicula

Hey, I was wondering if some people could help me rig up a keypress detection script in JASS.

Right now I'm trying to use the Keyboard and Mouse API from this nifty package:
https://www.hiveworkshop.com/forums/reinventing-craft-458/get-latest-version-here-37089/#top

However, when I download it and import common.j file, WC3edit crashes when I try to save. It throws all kinds of errors like:
"Unregistered Native Function"

Then it disables all the triggers and finally crashes.

Any thoughts as to how to make this work or use some alternative?

(NOTE: I don't want to use the old "hotkey an ability" trick... I've already got that working and I'm trying to refine it so I don't need unnecessary abilities)
 
Status
Not open for further replies.
Back
Top