this post was submitted on 02 Oct 2024
1 points (100.0% liked)

Godot: The open source game engine

21 readers
1 users here now

A community for discussion and support in development with the Godot game engine.

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/paradox_valestein on 2024-10-02 04:01:36+00:00.


I am trying to set up a wait func to make the game wait before continue with the next line of code. The await works fine outside, but once put in any function to be called later, it just won't work. How do I set this up correctly? (I'm using godot 4.2)

I also tried to use the await in the TimerTest function but when I trigger the func it doesn't wait but print all at once.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here