Expanded the code by this:
Code:
monitor_event UIElementVisible UIElementVisible ransom_prisoners_button
disable_ui ransom_prisoners_button
log always UIElementVisible ransom_prisoners_button
end_monitor
monitor_event ButtonPressed ButtonPressed ransom_prisoners_button
log always ButtonPressed ransom_prisoners_button
end_monitor
Resulted in:
Code:
22:43:00.281 [game.script] [always] disable_ui captor_ransom_scroll
22:43:04.802 [game.script] [always] ButtonPressed ransom_prisoners_button
monitor_event UIElementVisible
not executed. But proved the Id, is right.
I have no idea left. Seems like it is not possible.