How to implemented TC's R by mod editor(use script)

I’m learning programming in Age of Empires IV through mods, I wanna know how the official game implemented TC’s R hotkey for recalling villagers. I asked everywhere with no luck so far really hoping someone can help.

Usually thats stuff embetted in the games engine code.

is there any way to simulate it in mods?

I´m not really into aoe4 modding
But i can tell you from age3 and AOM, that its not possible.
Usually these things are hardcoded and hidden in the games exe file.

hope it can be achieved. I found this on the official website “The full possibilities of scripting are near limitless, and are beyond the scope of this guide.”

1 Like