Twine Version: 2.3.14
Story Format: Sugarcube 2.34.1
- How do I display a text depending on the player’s previous choices?
For example: passage A has 3 options: B, C and D. These 3 leads to passage E. I want to put different text on passage E, depending if the player reached passage E through B, C or D.
I saw in another forum that in Harlowe i could do:
(if: (history:) contains “Choice A”)[The text to show if Choice A was selected]\
(if: $path is “A”)[The text to show if Choice A was selected]
(else-if: $path is “B”)[The text to show if Choice B was selected]
(else:)[The text some other choice was selected]
But how do I do these in Sugarcube 2.34.1?
- Also, how can I display these text in a way that dosnt do line breaks? Because, for example, if a reach passage E through B, it would show me the text for choosing B, but it would leave long blank spaces where the texts for C and D would be.
Sorry for my bad english, its not my native language, I hope I made myself clear.