Jump to content
  • Advertisement
Sign in to follow this  
miradosamurai

Rogue-Like AI help needed

This topic is 1966 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!