hyperme
Level: Smitemaster
Rank Points: 1212
Registered: 06-23-2006
IP: Logged
|
Re: Special Command 2 (+2)
The game engine can't detect arbitary keyboard inputs, so a script command to do such a thing isn't workable. Part of the UI's job is to convert player inputs into game commands, which scripts can see. The only way to support new inputs is to add new commands. There's no way around this because demos also supply commands to the game engine, without pressing any input keys.
Indeed, "update itself with the player's keybindings" also doesn't work because only the UI layer has access to the keybindings.
____________________________
[Insert witty comment here]
Qzvlkx?
|