-
Is there something similar to [wait=N], except it waits for input before continuing a line rather than a number of seconds? |
Beta Was this translation helpful? Give feedback.
Answered by
Fireye04
Jul 9, 2025
Replies: 1 comment
-
Hiya! If you use await in a mutation function, GDM will automatically pause till it resolves. (Docs reference here) In your dialogue you'd run something like
And in the global you'd do
(pseudocode, as I usually use C#) Though this does bring up a good point that this probably should be something that's implemented more seamlessly as this solution does feel a little hacky. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Bugbert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hiya! If you use await in a mutation function, GDM will automatically pause till it resolves. (Docs reference here)
In your dialogue you'd run something like
do SomeGlobal.waitForInput()
And in the global you'd do
(pseudocode, as I usually use C#)
Though this does bring up a good point that this probably should be something that's implemented more seamlessly as this solution does feel a little hacky.