Kromster80 / kam_remake

"KaM Remake" is an RTS game remake written in Delphi from scratch.
http://www.kamremake.com
GNU Affero General Public License v3.0
361 stars 90 forks source link

Scripting: keyboard keys #366

Open lolslayer opened 7 years ago

lolslayer commented 7 years ago

For scripting, when I want to add something in where you need to select certain functions, I Always use beacons and specific points on the map where you need to put the beacons to activate the functions. This of course isn't really user friendly.

It might be nice to have some keyboard keys reserved for scripting, that we got a function like: States.ScriptKey1(Player) so you can see what reserved key is pressed by what player. Even 4 keys can be very effective and extremely useful.

Kromster80 commented 7 years ago

This would need to go through Key Mapping. Something alike "Script Key #1" "Script Key #2", etc. Cos we allow players to remap keys and we don't want these to be overwritten

lolslayer commented 7 years ago

Yeah, that was actually what I meant :)

reyandme commented 7 years ago

Good idea, will add this hotkeys then. By default no hotkeys for that, but player could map these functions to any key