[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