Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Shortanel |
Hello I’m trying to create a state machine and i use gdquest state machine as an example. The only problem I have, is that their script is on godot 3 and I am on 4. I managed to “translate” i guess the differences so far but i have a hard time with the yield function who became await now.
The ideea is that i what to modify this code:
yield(owner, "ready")
using await.
if you can explain how await works now it would be perfect.
Thank you for reading this.