Hi! First post, sorry if this has been answered but searches didn't turn anything up (though maybe I just don't know the terminology).
What I'm trying to do is add to the existing, already visible text after the player selects a choice. For instance,
"I ran up the stairs, anxious at [[what I would find...]]"
When the player selects the link, it changes (without a refresh) to
"I ran up the stairs, anxious at what I would find. Sure enough, the dog had found - and destroyed - a roll of toilet paper."
People may recognize this style from the Inkle game "80 Days"; that (or something close to it) is what I'm going for -- continuing a paragraph after input from the player.
Any ideas? Thanks in advance!
Comments
Here's what you're looking for: http://twine2.neocities.org/ This will replace the text identified by "shout"--whatever is in the first set of [square brackets]--with whatever is in the set of second brackets. You can put the second line out of the way at the bottom of your passage, or right next to it, and all you have to do if you want more than one replace per passage is to duplicate this and rename all three instances of "shout".
The (click:) allows the text contained within the hook to be click-able, and to do something when it is clicked.
The (replace:) is used to replace the text contained within the hook (but not the hook itself) with something else, in this case some more text.
And because the hook still exists in the passage even after you use things like (replace:) on them, you can re-apply an effect to that same hook again.