Single mission restart
I created a mission in which the init.sqs calls init_gametype.sqf. In this script a dialog is shown in which a gametype can be selected. From there on all other stuff runs. Everything works fine except for one thing I have no clue about.
When the player dies the standard dialog with RESTART/SUSPEND pops up. My issue is about the restart. Is the init.sqs executed again after restart? It seems not because the dialog from init_gametype.sqf is not shown.
Any ideas how to handle RESTART correctly.
Hi, the issue is solved. It seemed that not everthing initializes quickly enough after pressing restart. The dialog return value was true but it didn't show. I placed a 'sleep 1;' before the creation of the dialog and now it works.\