HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

key press question

08-16-2003, 04:22 PM#1
jeffsu
Howdy,
Actually I am familiar with the editor "key press" events for the arrow keys and am using them, but I have need to disable or change what happens when a player presses the "delete" key. Currently in W3 this changes the camera angle and other camera properties, which I don't want the user to be able to do. I had previously used a periodic trigger to set the camera how I want but have moved away from that because of performance concerns. Can anyone see another way to achieve what I'm looking for? If I could intercept or change that delete press...
08-16-2003, 04:29 PM#2
jeffsu
Also pagedown, pageup, and the other camera control keys...
08-16-2003, 04:48 PM#3
Pesmerga
You can only detect the arrow keys.
08-16-2003, 05:25 PM#4
jeffsu
Noooo........damn.


I fooled around with changing the key name in custom text, but that doesn't compile 8)

I guess I'll have to use some kind of periodic trigger then *shudder*
08-16-2003, 06:20 PM#5
Phil_123
there is a disable UI action...
08-16-2003, 07:00 PM#6
jeffsu
Ooh! Let me see if I can find that...
08-16-2003, 07:06 PM#7
jeffsu
I could only find one that disables the entire UI (which is not what I needed). Was there something else you were referring to?