Difference between revisions of "CopyArray"

191 bytes removed ,  12:31, 21 March 2008
No global flag
imported>Speedo
(updated syntax)
imported>Haama
(No global flag)
 
Line 10: Line 10:
*If Size is not specified, the new array size is the same as the original.
*If Size is not specified, the new array size is the same as the original.
*If Size is specified, the new array will be of the specified size (truncated or expanded).
*If Size is specified, the new array will be of the specified size (truncated or expanded).
*If you want to modify an array from another mod, you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the array is protected the function will fail.
*If the array does not exist, it returns -1.
*If the array does not exist, it returns -1.
*If ''RefuseZero'' is 1, then the new Array's ID will never be zero.
*If ''RefuseZero'' is 1, then the new Array's ID will never be zero.
Anonymous user