Original Discord Post by tyke_18 | 2024-09-02 10:46:57
Hi
I would like my character to say things sometimes that are very specific. For example I would like them to respond accurately to the user asking the question, “what is the time?”. I think I can detect for the user asking this with narrative graph (or would it be Actions)? - I’ve not delved into these yet, but will do. When I’ve detected the user asking for the time what does the process look like to make the character repeat verbatim what I specify i.e. the time (which would be the time that I’ve got from the system clock)?
Also do look into narrative Template keys for your above use case. It takes variable value map as input. You’ll be able to use variables in narrative design for (Dates times etc)
Ah ok, as long as I can use the tags then that is enough, I can get the users correct time and date for their respective timezone, just need a way of passing that in so it can be repeated verbatim.
Ah, as you have said <@1023671043287699568> the narrative template keys that take a variable value has not been implemented in Unity, tags would not do I want because I need to pass in the current time and date. I don’t suppose this feature is being worked on or planned for Unity?
It’s being worked on and will be a part of next release, for now we can help you with a custom implementation but we do not guarantee that it will work properly, I will ping you after I have come up with a solution. Meanwhile can you give me the version number you are using
Reply by raghuvanshagarwal | 2024-09-06 12:39:01
It’s being worked on and will be a part of next release, for now we can help you with a custom implementation but we do not guarantee that it will work properly, I will ping you after I have come up with a solution. Meanwhile can you give me the version number you are using
Reply by tyke_18 | 2024-09-06 13:12:18
Hi, I’m using Convai SDK 3.1.0, if you can provide me with something then that’s great but my requirement isn’t urgent I can wait until the next version release no problem, I have other things to do in the meantime
Hi <@433610960725344267> I don’t suppose there’s any progress on providing the say exact words functionality in Unity as described here? I don’t mean to be impatient, if I have to wait until the next official SDK update which afaik is next month then that’s ok, just wondering if you have a workaround for it in the meantime? No problem if not.
Hi sorry <@708608540763357234> I forgot to respond to you, I am sending you a file which is a Unity Component you need to add to your gameobject to send the ND template keys and also sending you a modified function inside GRPC to actually send it to the server