Here's the code I've got:
Code: ags
When I attempt to run this, I get this error code: undefined symbol 'txtUserInput'
I took this section of the code directly from the manual, so I'm at a loss. But also I've never attempted to use the parser before, so it's probably user error.
Thanks in advance!
function cDanielle_Talk()
{
cElle.FaceCharacter(cDanielle);
if (DanTalk==0)
{
dDan1.Start();
DanTalk=1;
}
else if(DanTalk==1)
{
dDan4.Start();
if (dDan4.HasOptionBeenChosen(1))
{
String input = txtUserInput.Text;
Parser.ParseText(input);
if (Parser.Said("window"))
{
cDanielle.Say("xxx");
cDanielle.Say("xxxxx");
}
else
{
cDanielle.Say("xxxxxxx");
}
}
else
{
cDanielle.Say("xxxxxxxx")
}
}
}
When I attempt to run this, I get this error code: undefined symbol 'txtUserInput'
I took this section of the code directly from the manual, so I'm at a loss. But also I've never attempted to use the parser before, so it's probably user error.
Thanks in advance!