I'm doing some modding in scripts. I want to make pressing the "disband unit"
button a trigger for some console command.

But I don't know what the event ID of the "disband" button is?

In CA's docudemon, it says that we can check this in a file called available_ui_elements.txt But where can I find this file?

Any help is very appreciated!