Modification (hotkeys module) for binding predefined actions with hotkeys module.
System may helpful with creating actions and bind them with hotkeys using hotkeys module.
It provide to use actions like: toggle window, on/off module, stop/start system and other.
It's simple to use and easy to add actions to list.
Api for external mods/modules.
Add action to action list:
LUA:
modules.game_hotkeys.addAction(moduleName, actionName, function)
Remove action from action list:
LUA:
modules.game_hotkeys.removeAction(moduleName, actionName)
or for all module actions:
LUA:
modules.game_hotkeys.removeAction(moduleName)
How to use:
1) Bind action to hotkeys module.
2) Choose hotkey.
3) Click button "Add action".
4) Choose module and action.
5) Click "Add".
Screens:
View attachment 46661
View attachment 46662
Limitations:
- To add action, mod/module must be load after game_hotkeys module.
- Module game_hotkeys works only after login to game.
Download:
Link