Quote:
If you receive another event_var during your dosomething() function, the global var will change to this new number.
this should never happen in an event function as long as you don't use wait(). otherwise this event concept didn't worked reliable before local vars were introduced ?!
what happens, if a new event occurs before you copied the global var to the local ??
Andreas GSTools - Home of GSTScript 0.9.8: lua scripting for A6/7/8 GSTNet 0.7.9.20: network plugin for A6/7/8 GSTsqlite 1.3.7: sql database plugin for A6/7/8 3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
|