return to menu after script [solved]
Posted: Sun Sep 09, 2018 2:17 am
I've been posting a lot today but I am getting frustrated doing this alone.
So I have some side stories programmed into my game that are accessible via the extra's menu. However no matter what I try the game either crashes when it tries to return or it starts a new game, ignoring any menu's asked to go to.
here are some different codes I've tried. Am I at least on the right track? (each line a different variation I tried)
I either have the game start a new game oran error saying invalid syntax.
So I have some side stories programmed into my game that are accessible via the extra's menu. However no matter what I try the game either crashes when it tries to return or it starts a new game, ignoring any menu's asked to go to.
here are some different codes I've tried. Am I at least on the right track? (each line a different variation I tried)
Code: Select all
return
return ("mainmenu") #Also tried with ("extra_screen") as well as empty ()
return () action ShowMenu("extra_screen")
action ShowMenu("extra_screen")
jump ShowMenu("extra_Screen")
jump("extra_Screen")
call_extra_screen
call("extra_screen")