• 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!

[Trigger] Looking for an event/condition

Status
Not open for further replies.
Level 9
Joined
Oct 17, 2007
Messages
547
I'm trying to make a trigger that activates once the player presses a key. I cant find an event that does that.

For example, when the player press "ESC" a dialog menu appear. Or other keys on the keyboard.
 
You could trigger it as a chat message though.. like say a unit types "*Dialog" into chat, and then bring up a dialog box..

Don't think you can by just hitting a given key.. Only way I could see that being a relative possibility would be by using Jass and even then I still don't think its possible
 
As Justify said, the only keys you can detect are the arrow keys and esc key. It doesn't make it more possible with jass. Only way to detect other keys, would be to use something like Reinventing the Craft, which is hosted on this site. Tho that'll make your map not work in multiplayer.
 
u could make a dummy ability like make a ability put the hot key as whatever u like but i dont think it would work for esc well trigger it like this
event
unit-starts effect of unit
cond
ability equal to (whatever)
action
whatever

yea i know thats not what u wanted but just givin u a idea
 
Status
Not open for further replies.
Back
Top