Hi there!
I am tied to use whiskers-parser in my own project. I add a Control node named HUD, and a child Control node named Dialogue. The Dialogue node is as same as the node was used in whiskers project. Basic_dave.json and jump_dave.json was work in that way. However, condition_dave.json and other file that used condition node just cannot work.
I guess it happens because there is no func and variables into script. I could not found any useful documents on the gihub lol. How can I add the func and variables into it?
error output:
Invalid get index 'key' (on base: 'Dictionary').
and
E 0:00:00:0474 self can't be used because instance is null (not passed)
core/math/expression.cpp:2147 @ execute()
WhiskersParser.gd:152 @ execute_expression()
WhiskersParser.gd:110 @ handle_condition()
WhiskersParser.gd:222 @ generate_block()
WhiskersParser.gd:42 @ start_dialogue()
Dialogue.gd:37 @ init()
HUD.gd:10 @ _ready()
Hi there!
I am tied to use whiskers-parser in my own project. I add a Control node named HUD, and a child Control node named Dialogue. The Dialogue node is as same as the node was used in whiskers project. Basic_dave.json and jump_dave.json was work in that way. However, condition_dave.json and other file that used condition node just cannot work.
I guess it happens because there is no func and variables into script. I could not found any useful documents on the gihub lol. How can I add the func and variables into it?
error output:
and