[SOLVED] Easy Question: Changing Words/Phrases in Narration Based on Choices?
Posted: Tue Sep 10, 2019 1:38 am
I imagine this is really easy, but I've had trouble finding answers to this. Always leads me to entirely different questions. 
I have a scene where the player chooses an item from a list. This item will be referenced in the future, so I want to change certain lines based on this. For instance, whether the player chooses the pendant or the book, I want later lines of dialogue or narration to reference the pendant, or the book.
I could use if/else statements and write out multiple versions of each line that includes this item in the future, but that seems extremely inefficient compared to simply setting the item as a variable and calling it into each line that references the item. I'm sure there's a way to do that, but I can't figure out how.
So how do I tell the game to place a previously-defined word into text?

I have a scene where the player chooses an item from a list. This item will be referenced in the future, so I want to change certain lines based on this. For instance, whether the player chooses the pendant or the book, I want later lines of dialogue or narration to reference the pendant, or the book.
I could use if/else statements and write out multiple versions of each line that includes this item in the future, but that seems extremely inefficient compared to simply setting the item as a variable and calling it into each line that references the item. I'm sure there's a way to do that, but I can't figure out how.
So how do I tell the game to place a previously-defined word into text?