I know I could just copypaste the allocation/deallocation and just add the required fields to my objects.Copy/paste the layer #1 from one of my systems and just use alloc/dealloc... it's like creating/destroying an empty struct in vJass. They're just unique integers for their set.
Basically, I'm reconstructing vJass concepts in SC2 GUI.
Of course, now I've indexed "timers" and units, and created Event, so there's probably not too much more you'd need...
My bad. Something was critically wrong. Seems the copy/paste in the editor is not always reliable.Where is IndexStack for? You're only using IndexStack, and then you only set it to "index" in DeAllocIndex and return it in IndexStack, so why the 2048 extra array fields?