HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Key Strikes...

08-13-2004, 01:52 AM#1
Ninja73
ok, idk if this is possible, mayb it is with jass or a 3rd party editor, is there an event like USER PRESSES #1 Key DO ACTIONS? i want it so they can change weaponss using 1-0 on numbers.
08-13-2004, 04:05 AM#2
Rafael Br
Use the events on Player - Keyboard event, or something like that, but it only serves for a specific player, so your trigger will have to have events for all players.
08-13-2004, 01:12 PM#3
Kelna2
Quote:
Originally Posted by Rafael Br
Use the events on Player - Keyboard event, or something like that, but it only serves for a specific player, so your trigger will have to have events for all players.

You can also use the Esc key

Player has skipped a cinematic

And the F1, F2, F3, F4 Keys with seletion events,

Note, you need 4 heroes to be selected for these keys to work, if you don't want to have the hero icon seen then turn it off in the object editor.
08-13-2004, 07:40 PM#4
Ninja73
well, the keyboard event is for arrow keys only, and the f1-4 or whatever, i cant have 4 heros selected at once, its a first person map so u would always have ur unit selected. And the escape key is being used 2 bring up the menu with save/load buttons and such. So there is no way i can use jass for the 1,2,3,4,5,6,7,8,9,0? I would like it like this so u can ezly change weapons.