0 votes

I have an issue with _process constantly accessing a function that calls a yield on itself under certain parameters met, waiting for a signal to continue. But _process, keeps accessing it and using it's other statements.

I want _process to be able to check if the said function is still currently yielded and not to access it.

Is there a way to do this? Or perhaps have process simply ignore a function even if it's own parameters tell it to get it?

Hope this makes sense

in Engine by (355 points)

Still hoping for help on this. :(

You could just set a yeilded variable to true before the yeild statement and false afterward

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.