static Parser.ParseText(string text)
Stores the supplied user text string for later use by Said.
You need to call this command first with the user's input before using
the Said command. You probably want to call this inside the interface_click
function when your text box control is activated.
Example:
String command = txtParser.Text;
Parser.ParseText(command);
will get the players input and store it in string "command" for use with the said command.
See Also: Parser.FindWordID,
Parser.Said
|