HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Player - Keyboard Events

11-08-2003, 10:09 AM#1
AZN-Enigma
If you check out the event in WE you ll fine the player keyboard events it only has 4 options the up arrow, left, right and down. Wat Im trying to do is create a float text above a hero unit evytime one of the arrows are pressed. Which Ive done, the only problem is evytime your press the arrow key the screen scrolls off in that direction. I tried looking to disable it in the world constants. But I cant seem to find it there or anywhere else. Anyone know how to disable this?
11-08-2003, 04:14 PM#2
Shark
well, try giving them abilities with a hotkey u want pressed, and then just make an trigger out of that..."unit is issued a command" or whatever..
11-08-2003, 04:22 PM#3
AZN-Enigma
that doesnt help me at alll..
Is this even possible, why the hack blizzard preset arrow keys then?
11-08-2003, 04:34 PM#4
35263526
Use the lock camera event.
11-08-2003, 05:05 PM#5
AZN-Enigma
though i was hoping for a better way i guess lock camera is the best. I just set it to lock camera to unit evytime the arrow key is press and then reset the camera in 1 second.
11-08-2003, 05:07 PM#6
35263526
Wait! If you want to be able to move the camera, I'm pretty sure that if you you can Pan camera to Current position of camera. Just do that at the start of your trigger.