Since I can't return an array of values from a function, I believe my only choice is to set values and in various global arrays. This produces "code" that's insanely hard to read. I like self-documenting, readable "code" in my projects. I use lots of vars with meaningful names in place of magic-numbers/strings to help achieve this.
So when using "global" arrays, is there only ever a single instance when I add it to the project? I don't have to explicitly create an instance in code? In my functions, and their calling code, do I have keep using "global array pick-by-uid" events to get a reference to the single global array? Or preferably, can I just reference the single global array (no pick-by-uid needed) in expressions and I will always be referencing that one single/same "global instance"?
When you have couple minutes free, please help me understand above correctly.
Also...
When you're building functions that need to return complex(ish) sets of data, how do you do it?
Thank you for sharing your Construct 3 expertise!
Mark :-)