Trigger Parameterized Actions with Voice Commands in Unreal Engine | Convai Tutorial

Hello everyone,

We are excited to release Phase 2 of our Convai Actions tutorial for Unreal Engine!

Building on the foundation of our first Actions tutorial, this video dives deeper into creating custom and parameterized actions for your Convai-powered AI NPCs. If you want your characters to dynamically perform specific animations or logic based on nuanced user commands (rather than relying on hard-coded behaviors), this guide is for you.

:sparkles: What We Cover in This Video

In this comprehensive tutorial, we walk you through the Blueprint logic required to make your characters truly dynamic:

  • :hammer_and_wrench: Custom Actions & Handlers: Learn how to add new actions to your Convai Chatbot component, enable them for your character, and wire up Convai Action Handlers in Blueprint.

  • :control_knobs: Parameterized Actions & Choices: Pass string parameters into your logic so your AI dynamically responds to input. We also cover adding predefined choices so the AI only selects from supported options.

  • :woman_dancing: Dynamic Animation Montages: We show you how to convert imported animations into montages and trigger them via voice. Instead of making separate actions for every move, learn how to use a single “Dance” action that uses parameters to select the correct animation!

  • :white_check_mark: Completion & Failure Handling: Learn how to use the Handle Action Completion node to notify the system when an action succeeds, fails, or is interrupted. We also set up fallback logic so your character responds naturally when an action cannot be performed.

:link: Resources & Documentation

Whether you are just starting or continuing from Phase 1, here is everything you need to build interactive, agency-driven NPCs:

Phase 2 Resources:

Catch up on Phase 1:

Setup & Installation:

We can’t wait to see the dynamic behaviors you build with parameterized actions. Feel free to share your progress or ask questions in the replies below!

Happy developing!