Auto-translated
Hello everyone, this is a question for those who have delved deep into the game engine.
The situation is as follows: I created a button in the interface (in adventurescreen_heavy) that opens the kingdom overview.
But how can I create a button on the same screen that would immediately launch, say, the building screen?
In the kingdom overview screen, this button has the command show_town_plan.
Obviously, without the parent window of the kingdom overview, this command won't launch because the required city parameter is missing. I'm sure the required parameter has the form of an ID: city1, city2.
Searching the process memory didn't yield any results.
If anyone has any ideas, I'd be happy to hear them.