I want to do something like
"Hey! You are [your name], aren't you?"[/code:gaahmjlc] Which [your name] will display as the name string of user from the global variable. Just like something from visual novel or text adventure that display your name. The thing is I would call this text dialogue from a single line of text (possibly xml or csv). Does Construct has a way to display global variable between the text? Thanks
I want to do something like "Hey! You are [your name], aren't you?"[/code:310ryemp] Which [your name] will display as the name string of user from the global variable. Just like something from visual novel or text adventure that display your name. The thing is I would call this text dialogue from a single line of text (possibly xml or csv). Does Construct has a way to display global variable between the text? Thanks
"Hey! You are [your name], aren't you?"[/code:310ryemp] Which [your name] will display as the name string of user from the global variable. Just like something from visual novel or text adventure that display your name. The thing is I would call this text dialogue from a single line of text (possibly xml or csv). Does Construct has a way to display global variable between the text? Thanks
Develop games in your browser. Powerful, performant & highly capable.
Or use Replace expression:
Set text to replace(varLineOfDialog, "[name]", varCharacterName)
— Thank you for sharing some idea.
dop2000 Hmm that is brilliant. Thank you.