Hello everyone. I'm trying to develop a game using Sugarcube 2.21.0.
I created a passage for my own options where I have a volume bar, restart, save and load options.
I want to create a link which the player shall click and a confirmation box shows up with "Do you want to save/load the game?" and yes/no buttons, if the player clicks yes, the Save.slots.save function will be called, if the player clicks no, the box will just close. I tried using UI.alert, but I was unable to do use the yes no buttons.
I already took a look at the API dialog on sugarcube documentation, tried some youtube tutorials, read a lot on the forums but I wasn't able to figure out how to do it.
I deactivated the UI bar, and I only want one slot, so there is no need for me to call the original save menu.
(Sorry if I didn't make myself clear. I'm brazilian so maybe there are a few mistakes.)