A chat functoin that replies
Posted: Wed Oct 15, 2008 10:08 pm
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
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