Delay opening the window

Is it possible to somehow delay opening the main window until later? I need to import DirectStart at start but it would be more convinient if the window could be open with a command later in the game initialization.

Put:

window-type none

in your Config.prc. When you’re ready for the window to open, call base.openMainWindow().

David