Hello!
I'm playing with Civilization VI modding and I would love to know if there's an easy way to associate a LUA function to a specific key press in the game.
I've already written the function in FireTuner, but I would like to make a mod that allows this function to be called when a given key press is triggered by the player.
I've tried to find out how this can be done in the forums, but I've been unable to find an answer.
Thanks!
(And hello, this is my first post here)
I'm playing with Civilization VI modding and I would love to know if there's an easy way to associate a LUA function to a specific key press in the game.
I've already written the function in FireTuner, but I would like to make a mod that allows this function to be called when a given key press is triggered by the player.
I've tried to find out how this can be done in the forums, but I've been unable to find an answer.
Thanks!
(And hello, this is my first post here)