dialogic-godot / dialogic

💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!
https://dialogic.pro
MIT License
3.42k stars 206 forks source link

Error when setting boolean variable to false #2148

Closed szyhar closed 2 months ago

szyhar commented 2 months ago

Error when setting boolean variable to false

The issue is as simple as can be. I ran into it when writing my very first test dialog, so I deleted everything to check just this one issue:

Screenshot 2024-03-21 18 34 16 Screenshot 2024-03-21 18 34 29 Screenshot 2024-03-21 18 35 53

Here's the error message when I run the game: Screenshot 2024-03-21 18 35 21

After reloading the project, the same message appears on startup.

When the variable is initially false and then gets assigned true everything works just fine.

EDIT: tried replicating the problem in another timeline and now, the message reads instead:

Screenshot 2024-03-21 18 53 34

Once again, there is no problem when assigning the value true.

I restarted Godot and deleted and then added Dialogic again to the addons. Neither changed anything.

Also, the reason I found this is that I froze the entire game before starting the timeline by changing a boolean global variable and wanted to unfreeze it at the end of the timeline. I'm new to Godot, would that be possible to do without changing the variable inside of Dialogic? Or could it perhaps become a feature to add the same expression to the beginning and end of each timeline?

Thanks for the great work you do!

CakeVR commented 2 months ago

Hello, can you try the latest commit on the main branch?

If you need assistance getting that working, here is our docs chapter for this: https://docs.dialogic.pro/getting-started.html#-how-to-install-the-latest-wip-version-

szyhar commented 2 months ago

Hello, can you try the latest commit on the main branch?

If you need assistance getting that working, here is our docs chapter for this: https://docs.dialogic.pro/getting-started.html#-how-to-install-the-latest-wip-version-

Works now! Did I download the wrong version? I'm new to this stuff.

CakeVR commented 2 months ago

Hello, can you try the latest commit on the main branch? If you need assistance getting that working, here is our docs chapter for this: https://docs.dialogic.pro/getting-started.html#-how-to-install-the-latest-wip-version-

Works now! Did I download the wrong version? I'm new to this stuff.

You downloaded Alpha 13, the latest release, which is correct. However, the bug you encountered was already fixed on our development branch, the main branch. That's why I suggested trying out the main branch.

I'm glad it works now!