Code: Select all
data.playerName = FormattedText.ParseCode("[var=PCName]");
data.tokens = FormattedText.ParseCode("[var=PlayerTokens]");
Code: Select all
data.playerName = FormattedText.ParseCode("[var=PCName]");
data.tokens = FormattedText.ParseCode("[var=PlayerTokens]");
Code: Select all
data.playerName = DialogueLua.GetVariable("PCName").asString;
data.tokens = DialogueLua.GetVariable("PlayerTokens").asString;