I've been struggling to create a simple form at the beggining of a game, where the player can define attributes of his character such as name, job, etc. This post
http://scopecreepstudios.com/blog/2015/01/11/44/ was my main source of information.
It's working, but with a real problem: none of the values are stored for more than one passage.
For example, if I have an input on the first passage where the player can set his name (and (set:$yourName to ?fname)), I can show that name on the next passage using "Name: $yourName". However, it doesn't persist to a third passage, and will not work .
"prompt" would be a workaround, since it keeps the value, but it's far of what I was planning. Any chance to keep the user input for reusing all around — in a custom sidebar, for example?
Comments
The following example shows how to input two values on one passage using the code from that link: ... the Second Passage contains the following:
Thanks!
There are a special javascript to embed somewhere ?