Main Character and Attention Object
This page gives an overview of how to use set the Main character the AI is talking to and the Object In Attention
Navigate to your AI character blueprint.
Drag the
Convai Chatbot
component into the event graph.Get the
Environment
Object and make sure it is valid.Use the function
Set Main Character
to define the current speaker to the AI character. Additionally, if you're using Convai's animation blueprints then setting the Main Character would cause the AI character to look at the Main Character reference.Use the function
Set Attention Object
to set which object is currently being talked about, this function also automatically adds the input object to the list of already existing objects in the environment.
The character blueprint can be a MetaHuman, ReadyPlayerMe, Reallusion or even a custom one you have created, just ensure that it has the Convai Chatbot
component.
Last updated