Page 2 of 2

Re: Player selection

Posted: Fri May 14, 2021 4:50 pm
by Tony Li
I replied to your email with some suggested changes. Summarizing the critical ones:
  • Assign the nodes' Actor dropdowns. This specifies the speaker. (Use NPC.)
  • Use SetContinueMode(false) to temporarily disable the continue button so TextInput() can advance the conversation as soon as the player presses Enter.
  • Set the Conditions to check if a name was entered: Variable["pcName"] ~= ""
  • Use Script to set the player's Display Name: Actor["Player"].Display_Name = Variable["pcName"]

Re: Player selection

Posted: Sat May 15, 2021 5:29 am
by Pendergast
Thanks Tony !

As you can see, i replied because i still have one problem with the variable pcName !

(I have some problems with my mailbox, sorry if you received my last reply 2 or 3 times, i tough the mailbox deleted it so i sent it again :shock:)

Re: Player selection

Posted: Sat May 15, 2021 8:45 am
by Tony Li
Hi Carolyn,

I replied to your email. Use "ChangeActorName" Lua function in the Dialogue System Extras page's "DiscoverNameExample".

Re: Player selection

Posted: Sat May 15, 2021 10:23 am
by Pendergast
Hi Tony,

Everything works now, thank to you ! ♥ You're the best !

Re: Player selection

Posted: Sat May 15, 2021 11:24 am
by Tony Li
Happy to help! :-)