[SOLVED] How do I make the custom dialog options stay on screen while speech?

Started by bx83, Tue 27/03/2018 09:02:32

Previous topic - Next topic

Snarky

This is a question that has come up numerous times:

http://www.adventuregamestudio.co.uk/forums/index.php?topic=51017
http://www.adventuregamestudio.co.uk/forums/index.php?topic=54917
http://www.adventuregamestudio.co.uk/forums/index.php?topic=48480
http://www.adventuregamestudio.co.uk/forums/index.php?topic=55470
http://www.adventuregamestudio.co.uk/forums/index.php?topic=44550.msg595125#msg595125
etc...

The easiest solution is to just add a line to repeatedly_execute():

Code: ags
function repeatedly_execute()
{
  gFakeDialogOptions.Visible = false;
}


Because repeatedly_execute() doesn't normally run during dialogs (though Dave Gilbert has pointed out some edge cases where it can happen, but which shouldn't matter for your purpose), the GUI will only be hidden once it completes.

bx83


SMF spam blocked by CleanTalk