Hello there!
I'm using SC2 for several years but it's first time I decide to make my own plugin.
Well, to improve existing one a little..
I have experience to work with different programming languages (C++, Delphi, Pascal and some others) and my question is not about how to make some things in JS.
But I can't find some information about where some methods (functions, properties etc.) came from.
This is a particular example.
Plugin: Array
File: runtime.js
Where can I find description of this things: cx, cy, cz, forX, forY, forZ, arr, forDepth and some others? I've tried to search it in *.js files in html5 folder but no succeeded.
I see that we can write this.cx = this.properties[0]; and this will be a Width of our Array.
And for example var a = this.arr; what is arr? It seems to be smth. like a link to our array but where did we found such description and others?
Well, another example, what means this.forX = []; or this.forDepth = -1;
I hope you understand what I want to know. Maybe I just can't see things under my nose