i have my lua script in beamng folder and want to run it by specific keybind from keyboard is it possible? if so please write how
Hey If you're looking to call your Lua function via a keybind then you can do this. 1. Create an actions file: yourMod/lua/ge/extensions/core/input/yourActions.json 2. Edit the following and put it inside that json file: Code: { "flood_ui": { "cat": "gameplay", "order": 0, "ctx": "tlua", "onDown": "if extensions_yourExtension then extensions_yourExtension.yourFunction() end", "isBasic": true, "title": "Title", "desc": "Description" } } You will want to change the extension and function name so it works with yours. Take a look how I have done it here: https://www.beamng.com/resources/flood.23313/