mob
verb
OpenHelp()
// Loads up the Help window with info.
usr << output(null,"helpout")
usr << output("<b><u>Getting Started</u></b>","helpout")
//And then it shows up.
winshow(usr,"helptray",1)
Problem description: The verb OpenHelp() is called when a button is pressed on my mainwindow interface object. This populates the output "helpout" in the subwindow (not a pane) "helptray" with text specific to the usr before displaying the subwindow to them.
I have 4 other subwindows in similar setups, all with the same winshow(usr,"subwindow",1) code, and all 4 function as intended: click button, window appears over the main window. Window is closed, the game carries on.
"helptray", however, appears underneath the main window. When it is closed, the game closes (as if .quit has been called). Obviously not a good way to "Get Started" with a game. With no errors at compile time, and nothing obvious standing out, I'm at a loss.
Additional Details: After the inclusion of "helptray" in the interface, the Options and Messages popup aggressively appears overtop my main window, which it did not do before now. Closing the Options and Messages popup ALSO causes the game to shut down.
Any insight into this would be great.