Bark condition always false
Posted: Sat May 06, 2023 1:18 pm
Hello!
I'm having trouble on get the true condition to bark works, i'm using a custom function (which is registered on lua) that return a string with the enemy type, which is Wolf. In the dialog inspector, the condition to trigger the bark is always false, even if the type is Wolf.
I managed to show debug info message from bark in dialog manager, so i could see that the condition is false and blocking.
I have printed the function output and it gives the string "Wolf'. I will post some pictures.
And when i delete the condition, the bark works fine! :/
Also, when I create a conditional using the 3 dots, it returns me my function with double parenteses like ()() in the end, are my function registered incorrectly?
Am I using the condition wrong? Thanks!
I'm having trouble on get the true condition to bark works, i'm using a custom function (which is registered on lua) that return a string with the enemy type, which is Wolf. In the dialog inspector, the condition to trigger the bark is always false, even if the type is Wolf.
I managed to show debug info message from bark in dialog manager, so i could see that the condition is false and blocking.
I have printed the function output and it gives the string "Wolf'. I will post some pictures.
And when i delete the condition, the bark works fine! :/
Also, when I create a conditional using the 3 dots, it returns me my function with double parenteses like ()() in the end, are my function registered incorrectly?
Am I using the condition wrong? Thanks!