Talk:Add - Array
Revision as of 21:49, 24 September 2016 by imported>LAITH10 (Created page with "==Not working on empty properties== I had been writing the following script: I have an array property of structs, that should be filled with new elements by a function. The ar...")
Not working on empty properties
I had been writing the following script: I have an array property of structs, that should be filled with new elements by a function. The array initially is empty (no value has been set in CK for it), as it should be done solely per scripts. But when trying to add a new element on this property, it simply does nothing (array is still empty). Using the same script with no modifications, but filling the array with a "dummy" element via CK suddenly works just fine. I haven't tested it on non-property arrays thought.