Or maybe a foreach? I have an issue on my project ; a function or a condition is called after a function but this one takes some time to complete, so the next function called fails unless I put a system wait into it (even a wait of 0.0001 second works, but it will fail if I wait 0 second).
I'm pretty sure the problem comes from this, so I'm wondering how I can know when a function or any condition/event has ended. Any idea?
I know I already opened a thread about my issue but my current question is more specific, so that's why I'm creating a new one.