Sign in to follow this  
miradosamurai

Rogue-Like AI help needed

Recommended Posts

hey guys i am working on a Rogue-Like right now and i am at a part where i am adding AI right now i am having trouble talking to the, well getting them to talk to me.The NPC i am trying to get the AI for is the owner of a small computer shop (the game is set in the 1993 ) i want to be able to interact with him (i already got interacting with things like doors working) and him to say "Hello and welcome to the Computer Helper shop, my name is John, is there anything you need help with?" and then you can press Y(es) or N(o) to be able to buy a computer i know how i can get the yes and no and getting the actual computer to show up in your house, or i will be able to figure it out fast if i don't; my problem is actually getting him to talk.

Share this post


Link to post
Share on other sites

What ASCII character is used to represent John? The alphabetic characters are generally more loquacious than the others.

 

But seriously, why can't you just print the text prompt you described above when the player interacts with the shopkeeper?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this