Skip to content

I can get this working, almost. Question, how do I send in variables? #1

Description

@FMastro

My Dialogue Tree starts with a condition check "Round=1" in the first node. It's also part of the variable database in the dialogue.
Edith.json.txt

In code I have..

_dp.IntVariables["Round"] = 1;

but doesn't seem to have any affect on the conversation. Thoughts?

Update: Seems to not work with any variables. I tried a boolean. In the DD I put "firsttime" then I tried "firsttime=True" and "firsttime==True" and with lower case "true"

I also looked into the OnEvaulateCondition override but it doesn't tell me if it's a boolean, int or string. So I don't know what dictionary to look in. Would be nice if the sender somehow mentioned that. I checked the currentNode too and it just says it's a condition node but doesn't tell you what type. then I could make it myself. For now I'll have to just keep unique keys and search each dict to find the key. I'll try that since I can't get this to evaluate at all anything I put in.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions