Well not long after a problem is fix another is found
I'm still new to this!
My problem is that when I type the proper word in the text parser to trigger and event it keeps running the other scripted events also, adds up all the scores, and freezes on the last frame of animation without resuming the idle animation.
I keep reading the manual on this and as far as I can tell it shouldn't run EVERYTHING under this function like this. Although being new to the C language and ags I wouldn't be surprised if I'm missing something.
Here's my script to help anyone who wishes to help me (Please excuse the words and what's being said, They're inside jokes):
function TextBox1_OnActivate(GUIControl *control)
{Parser.ParseText(Cmdbox.Text);
Cmdbox.Text= "";
String badword = Parser.SaidUnknownWord();
if (badword != null) cGirl.Say("I don't have words for that.");
if (Parser.Said("madness"))
cGirl.Say("Madness?..... THIS.. IS.. TEXAS!!");
GiveScore(5);
if (Parser.Said("hair"))
cBoy.Animate(1,5,eOnce);
cGirl.Say("Floof the hair for power!");
GiveScore(20);
if (Parser.Said("arms"))
cBoy.Animate(5,5,eOnce);
cGirl.Animate(4,3,eOnce);
GiveScore(20);
}

My problem is that when I type the proper word in the text parser to trigger and event it keeps running the other scripted events also, adds up all the scores, and freezes on the last frame of animation without resuming the idle animation.
I keep reading the manual on this and as far as I can tell it shouldn't run EVERYTHING under this function like this. Although being new to the C language and ags I wouldn't be surprised if I'm missing something.
Here's my script to help anyone who wishes to help me (Please excuse the words and what's being said, They're inside jokes):
function TextBox1_OnActivate(GUIControl *control)
{Parser.ParseText(Cmdbox.Text);
Cmdbox.Text= "";
String badword = Parser.SaidUnknownWord();
if (badword != null) cGirl.Say("I don't have words for that.");
if (Parser.Said("madness"))
cGirl.Say("Madness?..... THIS.. IS.. TEXAS!!");
GiveScore(5);
if (Parser.Said("hair"))
cBoy.Animate(1,5,eOnce);
cGirl.Say("Floof the hair for power!");
GiveScore(20);
if (Parser.Said("arms"))
cBoy.Animate(5,5,eOnce);
cGirl.Animate(4,3,eOnce);
GiveScore(20);
}