I'm using L's lovely Replace Macro for my game, but discovered that the <<continue>> function doesn't work.
(Others like <<replace>> work, though.)
I think it's because Sugarcube also has another <<continue>> with the <<for>> loop function. Is there a workaround for this, or is there another code being used that I'm not aware of?
Thank you!
Comments
But I also might have found a workaround - in the javascript for the replace macro, simply find the part that says
and then rename continue to anything else, e.g.
So the new macro you'll be using to code would now be
and this works for me so far!
Always look on the SugarCube website related to the series you are using (1.x or 2.x) to see if there are SugarCube specific versions of a macro set and use them instead.
You should get the SugarCube 2 compatible versions from its website, under: Downloads > Add-ons—you want the <<replacelink>> macro set package.
I did add the new js and stylesheet, but it's back to the same problems again. The actual error is:
Is this a conflict in macros? Since there seems to be another continue macro using a for loop? I'm using Twine 2 and Sugarcube 2.10.0 just as the macro requires.