Having big problems with the speed of my story, I'm experimentally trying to port it from Harlowe to Snowman. Something funny to do for someone who doesn't know Javascript. However, although my Harlowe code is long and elaborate, it's actually made of very few different macros, so I kind of trust I can get it done in Snowman.
One thing that I have no idea how to do, since Javascript documentation can't help and I can't find it about Snowman, is how to move from one passage to another indirectly: not with a standard Twine link like [this->this], but using the equivalent of a (goto:) macro from Harlowe.
What I need is creating a link that, when clicked, first sets some variables, and then jumps to the next passage.
Thanks!
One thing that I have no idea how to do, since Javascript documentation can't help and I can't find it about Snowman, is how to move from one passage to another indirectly: not with a standard Twine link like [this->this], but using the equivalent of a (goto:) macro from Harlowe.
What I need is creating a link that, when clicked, first sets some variables, and then jumps to the next passage.
Thanks!