How would you make it so that AI only talks when spoken to? The AI greets when a trigger is invoked in Unity right now. I would like to make it only talk when I talk to it.
Disable the Narrative design and you good to go,
I need to use the Narrative Design to trigger events and conversations. I just don’t want the AI to speak unless spoken to when using the Narrative design. The trigger causes the AI to greet the user.
Hello @Dave_Flores,
By default, Convai characters only respond when the user interacts with them (e.g., by speaking or typing). If your character starts speaking automatically, it’s likely because a Narrative Design Trigger is being activated when entering a collider or similar event.
To make the AI only talk when spoken to, avoid triggering a Narrative Section via Unity (e.g., via NarrativeDesignTrigger) unless it’s based on actual user input. You can manage this by checking your trigger conditions or adjusting the Narrative Design setup.
Thanks @K3 so does this mean there is no way for a character to not respond after a trigger?
Thanks for the clarification!
If you do not want the character to speak after a trigger, then it’s best not to use a Narrative Design Trigger as its main purpose is to initiate a narrative section, which typically includes speech.
If you’re using a trigger purely for gameplay mechanics or logic flow (e.g., starting an animation or moving the character), we recommend handling that directly in Unity without invoking a Narrative Section.
It might be worth revisiting your design to ensure triggers are only used when a character response is actually intended. Let us know more about your goal, and we can help recommend the best setup!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.