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

  1. Navigate to your AI character blueprint.

  2. Drag the Convai Chatbot component into the event graph.

  3. Get the Environment Object and make sure it is valid.

    1. 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.

    2. 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