Filtering Dialogues by TAGs in Unity Dialogue System
Posted: Sat Nov 02, 2024 12:04 pm
Hello everyone,
I'm currently working with a dialogue system plugin for Unity and I have a specific requirement regarding TAGs for dialogues. I would like to implement a feature that allows filtering dialogues based on the TAGs assigned to the characters involved in the conversation.
Here’s what I have in mind:
TAG Classification: Each character should have several categories of TAGs. Initially, I have defined the following:
Type: Friendly Creature, Hostile Creature, Mechanism, Treasure
Wealth: Poor, Average, Rich, No Assets
Threat: Strong, Weak
TAG Search:
First, I need to search for the TAGs of the actor involved in the dialogue.
Then, I want to filter the available dialogues based on matching TAGs. For example, if an actor has TAGs like Friendly Creature, Rich, and Weak, I want to retrieve dialogues that match any combination of these TAGs.
Has anyone implemented something similar or can provide guidance on how to approach this? Any insights or examples would be greatly appreciated!
Thank you!
I'm currently working with a dialogue system plugin for Unity and I have a specific requirement regarding TAGs for dialogues. I would like to implement a feature that allows filtering dialogues based on the TAGs assigned to the characters involved in the conversation.
Here’s what I have in mind:
TAG Classification: Each character should have several categories of TAGs. Initially, I have defined the following:
Type: Friendly Creature, Hostile Creature, Mechanism, Treasure
Wealth: Poor, Average, Rich, No Assets
Threat: Strong, Weak
TAG Search:
First, I need to search for the TAGs of the actor involved in the dialogue.
Then, I want to filter the available dialogues based on matching TAGs. For example, if an actor has TAGs like Friendly Creature, Rich, and Weak, I want to retrieve dialogues that match any combination of these TAGs.
Has anyone implemented something similar or can provide guidance on how to approach this? Any insights or examples would be greatly appreciated!
Thank you!