Make the avatar proactive from the beginning

Original Discord Post by manuelavanzi | 2024-08-15 17:15:27

i am trying the narrative design phase , i would like my avatar to be proactive and start talking before the user , is it possible ? then i think a nice tutorial just on narrative design you could also do it would be very helpful

Reply by k3kalinix | 2024-08-15 18:56:03

Hello <@905754050677583892>,

Reply by k3kalinix | 2024-08-15 18:56:40

Yes, this is possible. You can invoke a trigger.
Our Unity team is working on Narrative Design Tutorial and Documentation.

Reply by k3kalinix | 2024-08-15 18:57:41

if (TryGetComponent(out NarrativeDesignTrigger narrativeDesignTrigger))
  {
    narrativeDesignTrigger.InvokeSelectedTrigger();
  }

Reply by k3kalinix | 2024-08-15 18:58:33

Just an example code.

You need to get the NarrativeDesignTrigger component and call this method.
It will call the selected trigger (you can select it from the Inspector).

Reply by manuelavanzi | 2024-08-16 09:19:05

sorry but it is not very clear to me , I created this trigger , I called it start in the message to the right I wrote a presentation that the avatar makes of itself and the environment around , I do not know what it means Destination iD and then when I press invoke trigger it doesn’t read the text that I put in the trigger but it says another very generic thing

Images:

Reply by k3kalinix | 2024-08-16 09:23:02

Hello <@905754050677583892>,

Could you please check our Narrative Design documentation and Playlist ?

Embedded Content:
Narrative Design | API Docs
Master narrative design with Convai’s character creator tool. Create engaging AI-driven stories.
Link: Narrative Design | Documentation


Narrative Design
The videos show you how to utilize Convai’s narrative design feature.
Link: https://www.youtube.com/playlist?list=PLn_7tCx0Chip2mfSbOkqJLevEbm3jDuNV

Reply by manuelavanzi | 2024-08-16 09:34:35

o wow i did’t notice that doc thankyou

This conversation happened on the Convai Discord Server, so this post will be closed.