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

New to twine - have a simple question that I can't seem to find the answer to.

$
0
0
Okay so it's been a long time since I've written any type of code and I'm having a small issue with passages.

So currently I have this:

<<set $friendName = "">>
The girl across the street is your best friend, maybe you could waste the morning with her what was her name again?
<<textbox "$friendName" $friendName>>

So all of that works fine but I want to set her name to print inside of a passage but when I do

[[Leave <<print $friendName>>'s house|Oak Street]]

That doesn't work, so I got rid of the ''s'. No dice. Tried just using $friendName as if it were in a body of text. Nope. Is it possible to to place anything besides | inside?

Viewing all articles
Browse latest Browse all 1844

Trending Articles