I know how to set a variable with a text field by entering in the dialogue text:
Code: Select all
[var=?playerName]
Code: Select all
Actor["Player"].Display_Name = "Alex"
I tried:
Code: Select all
Actor["Player"].Display_Name = Variable["playerName"]
To put it into a simpler perspective, I simply want the dialogue to ask, "what is your name" and then have the player type a response. Then for the player to have that response set to his display name.
What I have now is one node having in the dialogue text:
Code: Select all
What is your name?[var=?playerName]
Code: Select all
Actor["Player"].Display_Name = Variable["playerName"]