int[] array1 = new int[12]; initialize array1's valuesint[] array2 = new int[6]; initialize array2's valuesarray1 = array2
what happens? Does array1 now refer to the same array as array 2? Or are does array1 now point to a new array the same size as array2, with array2's values in it? If that's the case, was array1's original array properly destroyed? Or are array2's values copied into array1's elements?
Or the following:
float[] myArrayfloat[] Property myArrayProperty float[] function get() return myArray endFunctionendProperty
If another script has "OtherScript.myArrayProperty[2] = 3.0" is myArray changed?
As for autoreadonly, are autoreadonly properties treated like constants, or are their values saved into savegames? If I have "float Property myFloat = 2.0 autoreadonly", then in a subsequent update of my mod, change the value from 2.0 to 3.0, will myFloat now return 3.0, or will it return 2.0 since that value was saved into the user's game?
