Originally Posted by kerrang
If you write code which triggers on ON_UPDATE and takes a LONG time to run - can another ON_UPDATE event trigger before the first one is complete
|
No, the UI is single-threaded. As long as your OnUpdate code is running, no other UI code will run and no video frames will be drawn because the game waits for the UI to be ready before it draws each frame. If you create an infinite loop, for example, you'll completely freeze the game.