Is there a way to compare two definitions in a condition? #860
-
Basically the title, dialogic is great and I'm having a lot of fun working with it but I can't figure out any built in way of making a comparison of two definitions in a condition event. So far I can only see the ability to compare a definition with a hard-coded value in the condition event, but not another definition. I can do: Does [X] = 5, but not does [X] = [Y] in essence. I'm not fluent yet enough with tweaking the source code to add this functionality without horribly breaking dialogic. Any help on this front would be extremely helpful. I realize there are workarounds that involve making these comparisons outside of dialogic itself, but it seems like such a simple level of additional functionality that I feel like I must be missing something. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can write the name of a definition into the input field and it will use the value of that definition. This works fine unless you have multiple definitions with the same name, as you cannot use the path currently. This is a known issue and will hopefully be changed, but not a priority atm. Hope this helps. |
Beta Was this translation helpful? Give feedback.
You can write the name of a definition into the input field and it will use the value of that definition.
This works fine unless you have multiple definitions with the same name, as you cannot use the path currently. This is a known issue and will hopefully be changed, but not a priority atm.
Hope this helps.