How to display variables in text without multiple actions?

Can anyone tell me how to embed variables into text so that the variable data updates within the text automatically. I am trying to avoid having to use multiple text boxes and multiple 'Show Text' box actions, (or multiple 'add to variable' actions) and use a single action to display this data.

EX. (In a text box) Player 1's name is VAR(plyr1), Player 2s name is VAR(plyr2).


I was thinking there might be some special coding that might work, like

EX. (In a text box) Player 1's name is [VAR(plyr1)], Player 2s name is [VAR(plyr2)].

or

EX. (In a text box) "Player 1's name is" VAR(plyr1)", Player 2s name is" VAR(plyr2)"."


Thanks for the assist.

Discussions have been disabled for this post