Is anyone able to confirm if it is possible monitor a keypress rather than a GUI button? I have run out of buttons.
Is anyone able to confirm if it is possible monitor a keypress rather than a GUI button? I have run out of buttons.
This is a script (forgot who made it) which lets the stratmap UI disappear when the Scroll Lock button is pressed, so I guess it could work:
Code:declare_counter ui_showing monitor_event ShortcutTriggered ShortcutTriggered object_manager hide_gui wait 0.1 if I_CompareCounter ui_showing = 0 hide_ui disable_movie_view set_counter ui_showing 2 end_if if I_CompareCounter ui_showing = 1 show_ui set_counter ui_showing 0 end_if if I_CompareCounter ui_showing = 2 set_counter ui_showing 1 end_if end_monitor
Thankee Sir.
That script was made by Userpro. Its great for taking screenshots without the UI in the way!
Do we know what keys are tied to which shortcut labels? In the above, "object_manager hide_gui" is what the code calls the Scroll Lock but what about others?
Currently following these promising mods - Imperia Antiquitatis by Splenyi
Traits, Talents, and Toadies by Hellbent
Real Roman Reforms by Aodh Mor
Unit Icons project by Bullgod
Also recommended:
City Sack, Liberation and Diplomatic Options by Dresden