If ( textinput.text = "hi")
{textoutput.text = "hello! =D"}
I know this code won't work and I have a longer script for it in the game but it doesn't work anyway so I am just giving an example. Please help

supa-tails wrote:Ok, I have been having trouble with this for way to long now, and my small forums doesn't have too many people who understand good code (Except Kall and J2Graves) But I want to know how to make a text actor reply to what you say using a if command, example:
If ( textinput.text = "hi")
{textoutput.text = "hello! =D"}
I know this code won't work and I have a longer script for it in the game but it doesn't work anyway so I am just giving an example. Please help
Users browsing this forum: No registered users and 1 guest