Hi there!
So I've been diving into scripts, mostly for dialogues, and opening / closing things like doors, curtains, chests, etc. And it works well so far, but there are a few things I don't fully understand, so here come a few questions :)
- There's possibly a bug with global properties (or booleans). For example, I'm checking this at the beginning of a dialogue:
global.property["chest2_empty"] == false
to launch a dialogue node, and the dialogue never starts. But if I useglobal.property["chest2_empty"] != true
, it works fine. Is it normal? - In a dialogue, is the default condition
self.property["visited"] == "yes"
meant to launch the following node if the dialogue has never been started before? I didn't manage to make it work (that's why I ended up using global properties). - There are booleans and strings, but don't see a way to use integers. Do you plan to add this in the future? I'd probably need something like a way to increment / decrement some global properties to keep track of characters relationships and similar things.
- Also, something useful would be some kind of log or debugger to track properties during the game. Or is there a way to do that with the developer console? Or to print / watch properties in the Godot window?