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
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?
Comments
Since you're asking about Twine 2 and <<textbox>>, I'm going to assume you're using some version of SugarCube—though it would be nice to know which.
For historical reasons, you need to use TwineScript there. Try the following: