PDA

View Full Version : A question about "ButtonPressed" event



zxiang1983
01-27-2007, 16:56
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!

alpaca
01-28-2007, 12:24
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!
Unfortunately we don't have that file. The only way to get some info about it right now is to go through the exe with a hex editor, a fine comb and a lot of intuition.

zxiang1983
01-29-2007, 09:13
Actually there is:

https://forums.totalwar.org/vb/showpost.php?p=929325&postcount=5

Thanks Atilius for helping me:)