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.
Rogue-Like AI help needed
Crossbones+ - Reputation: 1246
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?
Love DAOC? Tryout my DAOC clone: https://dl.dropboxusercontent.com/u/8974528/VON_Dist.zip