Originally posted by Pedrunn
No! There is a way to make a slic code trigger when pressing UI componesnts and the same way i was going to use to open the city manager but unfortunetly there is no OpenCityManage() like function. So it is possible to do what you intend, Big Mc.
Here are some examples of slic codes triggered by slic:
NewDiplomod: Triggered when hitting the treaties tab in the make proposal screen
...
All this codes tested and working (at least the trigger).
So it is possible to trigger codes and messages when pressing buttons and others UI componests.
No! There is a way to make a slic code trigger when pressing UI componesnts and the same way i was going to use to open the city manager but unfortunetly there is no OpenCityManage() like function. So it is possible to do what you intend, Big Mc.
Here are some examples of slic codes triggered by slic:
NewDiplomod: Triggered when hitting the treaties tab in the make proposal screen
...
All this codes tested and working (at least the trigger).
So it is possible to trigger codes and messages when pressing buttons and others UI componests.
Comment