When play begins:
show a modal window reading "Hello!";
set output focus to the modal window;
say "Goodbye!";
set output focus to the main window;
The text "Goodbye" only appears if the player clicks in the modal window or press a key. If the player clicks outside the modal window, "Goodbye" appears but the modal window closes at the same time.
Worse, if you use the "show a modal window" without initial content, the player has to click or press a key twice. If the player clicks outside the window, the text will appear in the main window. This behavior can bee seen in the "Version Popup" example.
I believe this is caused by the "wait for any key" in the definitions of the phrases.
Consider the following code:
The text "Goodbye" only appears if the player clicks in the modal window or press a key. If the player clicks outside the modal window, "Goodbye" appears but the modal window closes at the same time.
Worse, if you use the "show a modal window" without initial content, the player has to click or press a key twice. If the player clicks outside the window, the text will appear in the main window. This behavior can bee seen in the "Version Popup" example.
I believe this is caused by the "wait for any key" in the definitions of the phrases.