Hello, I’m not sure if this is the right place to be asking this. But I’m wonder if anyone could point me in the direction of a guide or add-on that would allow me to do the following. I want to make a dialog system where a player types in whatever they wish to say to an NPC and have the system look for the closest proper response. For example.
Player initiates conversation with an NPC.
NPC ask what the player wants.
Dialog box pops up prompting the player to type a response.
Player types: “I’m looking for Insert Location Name”
System finds the key phrases “I’m” (Reference to players self), “Looking for” (wanting information about location of something) and “Location Name” (Game object/Location).
If the NPC is tagged as knowing the asked for information a scripted response is given telling the player what they asked about.
I would use this for all interactions so the player is encouraged to interact with NPCs in order to find what they’re looking for and to make the characters seem more real and less like robots with predesigned interactions and responses. I.E. You walk up to the blacksmith and you’re given trade options or mysteriously you know that they need help gathering something.
Any information would be greatly appreciated, I’ve been trying to find anything that can help me and I’ve been coming up empty since you can’t really explain in detail to google exactly what you’re looking for the same way you would a person.