Operations Based on the Presence of Certain Words

This document explains how to detect words and perform certain operations based on it.

  • Open your Convai Character blueprint and click on Class Settings and then on ConvaiChatbot component.

  • Under the Details section scroll down to the Events section and add On Transcription Received event.

Add On Transcription Received Event to Event graph.
  • Once we have the transcription of player input, we can perform a substring search on it.

Substring search on transciption.

The Print String at the end is just an example. You can add your logic after the substring match.

Last updated

Was this helpful?