Link State of Mind with Narrative Design

I’d like to know if I can link the “State of mind” feature with the “Narrative design”. So if the avatar is on a “Trust” state it can activate a trigger on the narrative design and says certain information that other way couldn’t. It will be good for making interactions even better with the avatars not only in games but in virtual experiences.

Thank you so much!

Hello @vr,

Welcome to the Convai Developer Forum!

Yes, you can!

You can use the emotion response to trigger specific Narrative Design sections. Which platform are you working on?

Im working on Unreal Engine, but I don’t know exactly how to link them. It will be helpfull if I can link them in the “Narrative Design” feature on the Convai webpage so the conversation adapts when you talk to the avatar directly.

Thank you so much!

Unfortunately, it’s not currently possible to link emotions or triggers directly through the Narrative Design interface on the Convai website. This kind of integration needs to be handled within Unreal Engine.

To do this, go to your NPC’s Blueprint and select the ConvaiChatbot component. In the Details panel, look for the Events section and use the OnEmotionStateChanged event. This will provide the emotion response data.

Once you receive the emotion, you can trigger the appropriate narrative section using Blueprint logic. Please refer to this guide for step-by-step instructions:
Narrative Design Trigger Guide

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.