Skip to content

[Resolved] [Query] Auto activate history window

VortakaVortaka Member Posts: 173
edited October 2016 in UI Modding
Hi all! I've been playing in the UI.MENU files for some days now... It's fun cause UI modding isn't that hard with it (if you find the right place and functions).

So, here's the question (as stated in the title). How to auto active history window (you know, when you talk with an NPC a little button appears in the upper right and clicking it reveals the history window)... and only once... The code is "toggleDialogShowMessages()"... But if I put it anywhere, like in the in an open part, it just "toggles"... One times it's open, the other time not...

Help?

Thanks for any help!
Post edited by Vortaka on

Comments

  • AncientCowboyAncientCowboy Member Posts: 199
    Well, I haven't tried it but the first thing that comes to mind is to put a toggleDialogShowMessages call in OnOpen and another in OnClose... Like I said, I haven't done any work in that code but it's something to try.
  • VortakaVortaka Member Posts: 173
    edited October 2016
    Well... Hum... I feel dumb! So basic and so easy, and it works!
    Thanks!
    Post edited by Vortaka on
  • AncientCowboyAncientCowboy Member Posts: 199
    Glad it worked!
Sign In or Register to comment.