0 votes
by (790 points)

What I want is for the player to click on a link that is followed by unclickable text, then have some text appear after this unclickable text, with a small part of the unclickable text being replaced. This question asks for something very similar: in the statement "My hat is blue.", when the player clicks on the word "hat", the sentence "I love it!" appears after the first sentence. But in this case I want the full-stop after "blue" to be replaced with a comma, i.e. when the player clicks on "hat" in the sentence "My hat is blue.", the final output is "My hat is blue, I love it!". Is this possible?

1 Answer

0 votes
by (68.6k points)
edited by
 
Best answer

You'll probably want something like the following:

My <<linkreplace "hat">>hat<<replace "#hat-replace">>, I love it!<</replace>><</linkreplace>> is blue@@#hat-replace;.@@

 

by (790 points)

Thanks for your help! There's a typo in your snippet. It should be:

My <<linkreplace "hat">>hat<<replace "#hat-replace">>, I love it!<</replace>><</linkreplace>> is blue@@#hat-replace;.@@
...