Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn wait command implementation is broken #1

Open
Technohacker opened this issue Jun 21, 2020 · 0 comments
Open

Yarn wait command implementation is broken #1

Technohacker opened this issue Jun 21, 2020 · 0 comments
Assignees

Comments

@Technohacker
Copy link
Owner

Technohacker commented Jun 21, 2020

Currently we use a yield with a SceneTreeTimer to handle <<wait n>>, but that breaks the yield based dialogue flow with

resume: Condition "!function" is true. Returned: Variant()
  <C++ Source>  modules/gdscript/gdscript_function.cpp:1868 @ resume()

on Godot 3.2.2.rc1

This occurs on the next yield after the timeout yield. It could very well be an engine bug but I can't tell for sure.

Another option could be having the code create a new Timer node and connect the timeout signal to step_through_story function

@Technohacker Technohacker self-assigned this Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant