Custom actions based on internal state of AI

Original Discord Post by tm4k_cubed | 2024-10-20 16:19:29

I’m making a game where you need to convince a weapon storage guardsman to give out the sword to you. What would be the best approach? I’ve tried to use custom actions like “Gives ” but it doesn’t work all the time(e.g. the AI character says that he is convinced and says that he will give the sword but the custom event is not firing)

Reply by tm4k_cubed | 2024-10-22 06:12:04

Does it make sense? I can answer questions if it doesn’t.

Reply by tm4k_cubed | 2024-10-22 14:44:10

<@1023671043287699568>

Reply by mighty_brute | 2024-10-23 05:43:38

Hello <@559592612219060235> , you can use Narrative Design for this. Link to doc :

Embedded Content:
Narrative Design
This is a simple demo about how to use Narrative Design in Unreal Engine. Below, you can see a simple Narrative Design consisting of 2 triggers: “On Player approach it” and “Reached Monument,” and 3 sections: “Welcome,” “Escort Player to Monument,” and “Speak about the Monument.” For this…
Link: Narrative Design - Google Docs

Reply by tm4k_cubed | 2024-10-25 19:30:38

Thanks! I’ve just finished implementing it. Seems to work.

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