How do I open a Dialog_MessageBox in main menu

Started by Nightinggale, December 01, 2017, 11:02:20 PM

Previous topic - Next topic

Nightinggale

I'm have made a PatchOperation, which should open a Dialog_MessageBox if it fails. Right now it calls ModsConfig.RestartFromChangedMods() for testing purposes, but eventually I plan to make my own.

The problem seems to be that it requires Find.WindowStack before the GUI is started and it results in a black screen I have to force quit.

This leaves me with two problems:

  • How do I make a list, which can be written to during patch operations and read later?
  • How do I make a method, which will be called once the GUI is ready for opening windows?
While I planned to do this without Harmony, I can use it if I have to.
ModCheck - boost your patch loading times and include patchmods in your main mod.