Can I set a variable onclick?

51 views
Skip to first unread message

Gabriel Widing

unread,
Jan 13, 2014, 5:15:18 AM1/13/14
to twee...@googlegroups.com
I would like to change a variable when the player click on a link to a passage and not when they arrive to the passage. It would spare me some extra passages. In my case I have a yes/no-answer that will lead to the same passage but invisibly set variables to something.  Is it possible, or do I have to do one passage for every yes/no containing the same content but with different <<set $variable>>?

Devi

unread,
Jan 13, 2014, 10:39:48 AM1/13/14
to twee...@googlegroups.com
If you're using version 1.4 you can. Check out this page of the wiki: http://twinery.org/wiki/link (you might have to scroll to the bottom). 
Reply all
Reply to author
Forward
0 new messages