| 07-07-2004, 11:32 AM | #1 |
This is only part of one of my triggers, so if it dosnt make sense at all, dont worry. I want to make it so that when a key (lets use o for this trigger) is pressed, it changes the value of A (string) to A=(A+100) (Increase the value of A by 100. The problem I am having, is that the ONLY keys you can bind to are the 4 arrow keys, and because the scroll the screen, they CANNOT be used. Does anyone know a way to bind other keys? (such as o) |
| 07-07-2004, 01:49 PM | #2 |
you could give a unit an ability with hotkey "o", but ofcourse... the key would only work when you have selected the unit. Please tell what you are trying 2do so I can help you more. |
| 07-07-2004, 02:46 PM | #3 |
You can change the behaviour of ESC key and other keys using JASS or WEU's advanced trigger actions. |
| 07-07-2004, 02:57 PM | #4 |
or do that :P thats better, dont mind my last post |
| 07-07-2004, 03:50 PM | #5 |
To use the arrow keys without having it scroll use camera lock onto a unit. |
| 07-17-2004, 02:35 AM | #6 | |
Quote:
Which action(s) in WEU? I cant find them >< |
| 07-17-2004, 02:51 AM | #7 |
Use the search for text function... look for something like ESC or keyboard. |
| 07-17-2004, 05:08 AM | #8 | |
Quote:
I have found: Advanced - Set the escape button to clear all text messages True Advanced - Disable/Enable keyboard scrolling for Player 1 (Red) and Camera over 0.00 seconds (Green = Changable part of trigger) Wat I want to be able to do, is if a player presses a certain key (hopefully i could use any key) then it runs a trigger. So far, I can only find The arrow keys and Esc to do this. |
| 07-17-2004, 06:32 AM | #9 |
Apologies, should have checked this myself first (would have been my WEU was broke and I only just fixed it). The event you are looking for is "Cinematic skipped". It can be found under the "player" category. If you want to do any more you should disable keyboard scrolling and use the arrow keys. |
| 07-17-2004, 06:42 AM | #10 |
Ok, so Now i can use the ESC and Arrow keys. Is there a way using Jass so that i can use ANY key? |
