Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Calling the Save Menu in SugarCube 2

edited April 2017 in Help! with 2.0
Is there a simple way to call the save system in Sugarcube 2 without using the sidebar?

There was an old thread (here) that indicated that this snippet would work from the StoryInit passage, but it seems to be out of date:
/% Special code that triggers at startup %/
<<script>>
	$("body").append("<button id='save-sub' style='position:fixed; top:0; right:0;'>Inspect saved games</button>");
	UISystem.addClickHandler("#save-sub", null, function () { UISystem.buildSaves(); });
<</script>>

Thanks! Sorry if I missed something in that thread... it went over my head quickly.

Comments

Sign In or Register to comment.