
04-27-2002, 06:14 PM
|
Registered User
|
Join Date: Dec 2001
Location: Corpadverticus, which in case you don't know is the recently-formed and Blockbuster Video-sponsored Tenth Circle of Hell
Posts: 57
|
|
disablekey?
Key remapping (or making one key do a different thing from usual) can be quite complicated in Graal, and then even once you can do it there's some keys that you can't disable, like the Pause button. So I propose introducing two new commands:
disablekey key; and enablekey key;
These two commands would remove or restore the default actions from a key. Not just the Graal action keys, other things like bringing up the map and pressing Tab to chat to people. It would use the same key values as keydown, so "disablekey 1;" would disable the Left key. These would also remove the need for extra commands like disableselectweapons; as all you'd need would be disablekey 9. It'd give more buttons to be used for things like musical instruments and minigames.
It also has practical applications in other fields; want to disable using NPC weapons in a spar, while leaving all other operations intact? disablekey 4. Want to stop people chatting idly in a jail? disablekey 8. How about stopping the player going up and down so they can just go left and right? This might be useful for a target range: disablekey 0 & disablekey 2.
I think this would be a useful addition to the language. |
__________________
AIM: GrowlZ1010 | Y! IM: GrowlZ1010 | MSN: [email protected] | Email: [email protected]
- I use obscenely long words to befuddle my adversaries, therefore I am -
Current Favorite Quote: Real programmers don't document. If it was hard to write, it should be hard
to understand.
|
|
|