I vaguely recall some functions returning an array, but it doesn't seem to work for me.
Say you have a script that fills a local array with values, is it possible to return the array and end up with something like this?
and then in an object
Say you have a script that fills a local array with values, is it possible to return the array and end up with something like this?
Code:
///script_array()
var array
array[0] = 10
array[1] = 11
array[2] = 12
return array
Code:
var a = script_array()
xx = a[0]
yy = a[1]
zz = a[2]