Hi, I'm using Sugarcane 2 and I was wondering if there was a way to let the player choose a variable but by clicking text that changes each time instead of by typing it in. For example, if the question was to choose the player's name, they would click the text and it would cycle through 'Fred' 'George' 'Bob' etc; and then when they moved to a new passage it would keep whatever name they left it on.
I have seen many games do this but have not worked out how; I have checked the documentation but to no avail. Please help! I am not very experienced with raw code but will pick it up if necessary.
Comments
Anyway, assuming for now that you are indeed using SugarCube v2. You could download the <<cyclinglink>> macro from its website (under: Downloads > Add-ons), which should do exactly what you want—be sure to read the accompanying README.