I’m wondering if there is any way to store a condition in a table entry to associate it with something. I guess an example would be let’s say you had a topic and you wanted someone to respond different things based on the situation. So how would you make a table to associate the character’s response with the condition of the model world or player’s actions?
Since conditions can be stored in text, you can do it like this:
topic response
"accuse" "[if the evidence is handled]Yep, you got me.[else]I'm innocent! I swear![endif]"
But you can also do it like this:
topic condition response
"accuse" "[if the evidence is handled]1" "Yep, you got me."
"accuse" "1" "I'm innocent! I swear!"
And then check if the condition entry is empty.
4 Likes
Works perfect, thanks.