Results 1 to 3 of 3

Thread: A question about "ButtonPressed" event

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default A question about "ButtonPressed" event

    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!

  2. #2
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: A question about "ButtonPressed" event

    Quote Originally Posted by zxiang1983
    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.

  3. #3

    Default Re: A question about "ButtonPressed" event

    Actually there is:

    https://forums.totalwar.org/vb/showp...25&postcount=5

    Thanks Atilius for helping me:)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO