0 votes
by (2.9k points)
So I'm trying to print variables in my twine game but each approach has not worked, I have tried using the print macro but it hasn't worked. It may be a problem for Mac users only because it works on windows just fine. Any suggestions?

1 Answer

+1 vote
by (159k points)

Without an example of your existing TwineScript it is difficult to determine why it is not working for you.

The following example demonstrates a number of different methods that can be used to output the contents of story variable, they range from using Naked Variables to the different <<print>> related macros and they all work as expected.

<<set $name to "John Smith">>

Your name is $name.

Your name is <<print $name>>.

Your name is <<= $name>>.

Your name is <<- $name>>.

 

...