Our team need more tutorials about triggering actions of Convai with Playcanvas

Original Discord Post by prapthanimesh | 2024-10-21 04:38:30

We’re planning to use Convai for a Playcanvas application. In future we’re planning make custom languages with Convai. For now, We need to know how to trigger an actions and how to use other functions through Playcanvas.

Reply by k3kalinix | 2024-10-21 10:20:03

<@368669084952428554>

Reply by saurav0037 | 2024-10-21 10:27:55

there is a method on convaiClient: setActionConfig(actionConfig: ActionConfigParamsType)
type ActionConfigParamsType = { actions?: string[]; characters?: ActionConfig.Character[], objects?: ActionConfig.Object[], classification?: string; contextLevel?: number; currentAttentionObject?: string; };

Reply by saurav0037 | 2024-10-21 10:31:07

custom actions example : Adding Descriptions to Actions | Documentation

Will update the playcanvas and js docs with examples by next week

Embedded Content:
Adding Descriptions to Actions | Documentation
Add Descriptions to Actions - Custom Actions Guide for Unreal Engine.
Link: Adding Descriptions to Actions | Documentation

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