It looks like you're new here. If you want to get involved, click one of these buttons!
<<textinput $journaladd [[Add to Notebook|Notebook]]>>
However, when I put this same code inside a passage, it works. Is there something simple I'm missing, or a workaround for this? Thank you very much!
Comments
Edit>> Using Twine 1.4.2, with SugarCube
However, I still can't figure out how to work around the Sidebar Restriction. Can anyone comment on why I can't process forms that are located in the sidebar?
The way Sugarcane is currently written does not allow for using its
<<textinput>>
macro outside of the main passage display area (there are a few macros like that, actually).@Karmina:
SugarCube does not have a
<<textinput>>
macro. Its text input macros are<<textbox>>
and<<textarea>>
. So, you're either a little confused (i.e. actually using Sugarcane) or doing something you probably shouldn't be (i.e. trying to add a moldy copy of<<textinput>>
to SugarCube).I am still having trouble with gregkarber's advice however. I don't know if I am following it correctly. Can someone step me through it slowly? I have: A passage linking to "Notebook" in the sidebar.
On the Notebook page I have only: Then that links to a passage called $journaladd, and on this page I have: This page prints only "0", and then there is no more text input to add more lines (i added one but it just wrote over whatever I had previously typed in.)
I have basic twine coding skills, and I have tried messing around with several different options but I still can't figure it out.
Also how would I get the story back to the page where I clicked on Notebook?
Also, thank you guys for the responses
Or, you could simply change the story format to SugarCube (you can change formats at any time). SugarCube's
<<textbox>>
macro serves the same purpose as the vanilla format's<<textinput>>
macro.Anyway, I've attached two examples. One for SugarCube and one for Sugarcane.
In your StoryInit passage set you a $journal variable: Then in your Notepad passage do the following: