Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Storing different value than what appears in a cyclinglink macro. (Sugarcube 2.12.1)

$
0
0
I have a small question that I can't seem to find an answer to by searching the forum or checking the documentation.

I'm using Twine 2.011 with Sugarcube 2.12.1 and I want to have a cyclinglink that shows different values from what it stores. For exmaple, when asking the player whether they are male or female I have the following code
You are <<cyclinglink '$gender' "a Man" " a Woman" "Different">>

With those words as the links, I'd like the ability to store the values "male", "female", or "other" inside $gender instead of what is displayed. I would prefer to keep a cyclinglink as that is what I use throughout the rest of the project and CSS is styled after it. What would be the best way to go about this?

Viewing all articles
Browse latest Browse all 1844

Trending Articles