spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Parser functions

ParseText

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


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.