Close Button and Window Settings
I'm working on a new bank mod here and I've run into a problem. From what I see the Window Settings button and Close Window button reside inside the Window Frame. Using the window settings, hiding the frame will cause these 2 buttons to disappear as well. I didn't want these buttons hidden when the frame was hidden so I pulled them out of the frame altogether. This caused them to not work. Digging through the command list, I came upon window_close and window_settings. So, I attached these commands to the OnPress event (OnPress window_settings and OnPress window_close in the UIBuilder). Upon loading the bank mod in game, and pressing the buttons, the window settings button didn't work at all, and close window button gave me the proper use for this command is window_close <module> <name>.
Can someone tell me what <module> <name> means, and either how to keep the buttons visible when the window frame is hidden, or how to make them work outside the window frame?
|