This stage explains how to add simple custom actions with Convai characters.
Loading...
Loading...
Add Descriptions to Actions - Custom Actions Guide for Unreal Engine.
This document details the process for adding descriptions to actions within Convai characters, improving AI understanding and action execution. Action descriptions provide contextual information, aiding in more accurate and contextually appropriate behaviors.
Action descriptions offer contextual hints to the AI, helping determine when and how to trigger actions based on gameplay and conversation scenarios, enhancing the gaming experience through more accurate AI responses.
Identify the Action: Determine the action needing a description, such as "Sit Down" or "Crouch".
Format for Adding Descriptions: Use the format Action Name <Description>
to add descriptions. The description should be clear and concise, providing exact indications for the AI.
Examples:
Sit Down:
Crouch:
Attack Enemy:
Send Email:
Navigate to Convai Info Section: Select your Convai character in the editor and access the Convai Info section.
Adding Action with Description: Click the Add Element (+) icon to input the action along with its description as previously formatted.
Clear and Specific Descriptions: Ensure descriptions are straightforward, precisely indicating action triggering conditions.
Use English.
This document explains how to add simple actions to your Convai characters.
Steps to add simple actions to your Convai character:-
Select your Convai Character and navigate to the Details panel. Within this interface, locate the Convai Info
section.
Select the Add Element
icon (+)
and input the desired action you wish to execute. For example, Print.
Open the character blueprint to which you have just now added the action.
Add a new event with the same name. Print
in this case and define the logic for the function you just named and run the function Handle Actions Completion
with Is Successful
set to true.
Hit compile and ask your Convai Character to perform the action.