Passing a c++ array pointer to script
by Corin · in Torque Game Engine · 11/21/2006 (10:22 am) · 2 replies
About the author
#2
Save yourself the pain and search for the array resource instead. :)
11/21/2006 (11:46 am)
Aye, either that or you will have to store all the arrays in some kind of list with every array represented by an ID, pretty much like ConsoleObject works.Save yourself the pain and search for the array resource instead. :)
Torque Owner Thomas \"Man of Ice\" Lund
What you can do instead is to make a script accessible C++ array object and use that with various script methods.
I'm pretty sure there is at least 1 resource already doing this - with a somewhat ackward script interface, but usable