Text Parser Help

Started by AGSPwnage, Wed 30/06/2010 17:18:04

Previous topic - Next topic

AGSPwnage

How can i use the text parser to allow players free speech?

Khris


AGSPwnage

#2
so how can I use it to allow players to say ANYTHING? Does that then make the character say the exact words from the parser?

Khris

I tried this:

Code: ags
function dialog_request(int param) 
{
  player.Say(Parser.SaidUnknownWord());
}


Now the player will simply repeat what you've typed.

What's the endgame here? What are you trying to achieve?

AGSPwnage

I am just Making a random game at the moment to get used to the software, Sorry I haven't posted for a while, I was away. No internet access is bad for me...

SMF spam blocked by CleanTalk