Jump to content

Image of the Day

What's the best way to move your heavy stuff? Using a power loader! #spacr #screenshotsaturday 💪🤖💪 https://t.co/sOjz2XNVeq
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Rogue-Like AI help needed

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 miradosamurai   Members   

112
Like
0Likes
Like

Posted 04 May 2013 - 01:48 PM

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.



#2 Steve_Segreto   Members   

2029
Like
0Likes
Like

Posted 04 May 2013 - 10:09 PM

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?






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.