"Input ID" is changed to disable the operation while the "call function" is being executed.
And, my schematic restore the "Input ID" When the "call function" is finished.

However, the next node is executed without waiting for the "call function" to finish.
How to stop/pause schematic while running "Call Function"?
  • Call Function only calls a function and doesn't wait for anything.
    You can e.g. handle this via a global variable - the schematic can create a loop to check the variable each frame and only continue when the condition is valid.

    E.g.:
    - Wait node to wait 0 seconds (continues next frame)
    - Check Variables node to check a global bool variable isDone

    Your code simply needs to set isDone like this:
    Maki.Game.Variables.Set("isDone", true);
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for your response.
    The information you gave me solved the problem.
Sign In or Register to comment.