|Topic was automatically imported from the old Question2Answer platform.
I have a dialog system that parses all of the dialog from JSON and displays it. There’s also a part for the player to enter their name, which gets stored in a variable in one of the scripts. Say the player names themself “John Doe”. I was wondering if in the JSON, I could have a line like:
“Your name is [PLAYERNAME]”
and in-game it would print as:
“Your name is John Doe”.
The closest thing I can think of is custom BBCode but I doubt that’d actually work. Any pointers on how to implement something like this?