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

(Sugar Cube 2) Print variable in Link?

$
0
0
In a previous passage $father is set to "Brian" or "Laurence." Now I would like to have "Brian" or "Laurence" appear in a link.
[[<<print $father>> left your mother.->Passage5]]
Just shows up as
$father left your mother.

Putting everything inside click macro doesn't work either.
<<click  [[<<print $father>> left your mother.->Passage5]]>><</click>>

I've tried replacing the print macro with some other stuff but none of them seem to work with Sugar Cube 2. Naked variables work in regular text but not in links.

What am I doing wrong?

Viewing all articles
Browse latest Browse all 1844

Trending Articles