Hey! I'm using the most recent release of Twine2 for Mac, Harlowe story type.
So, I've looked through the documentation and around the forum, and it looks like this might be possible (click macros? change macros? live? one of these things might be the right thing but they're all a bit beyond me at the moment), but I'm not really sure where to start, so I figured I'd ask:
Is there a way to set specific variables based on what link a player clicks? Something like:
[[Option 1->Confirm]](set: $A to 1)
[[Option 2->Confirm]](set: $A to 2, $B to ($B - 1))
So, the passage is the same (a generic confirmation page thing), but the actual clicked link changes the variables, that way I wouldn't have to make a separate confirmation passage for each choice (in the actual game I'm working on, there's 9 of these choices, and there's 100 pages featuring these choices, so I've been looking hard at how to pull off some shortcuts, and this would save my ass, haha.
Thanks for any help you might have!
Comments
http://twinery.org/wiki/twine2:guide