So when a module is executed, it will run and finish without having its execution interrupted, compared to a script with an infinite while-loop that can have its execution interrupted whenever?
I also see some use the registerEventListener(TIMER_TICK, "functionName"), not really sure when this should be used rather than modules
I've seen in your scripts that you've been using all these different methods. In some you use the above EventListener method, in other you use a module and also
infinite loop in some scripts. What makes you use different methods? Should modules be used only if you want to concurrently execute different contexts in the same script file?
Ended up with lots of questions haha, answer them if you feel like![]()