Torque 2D, like some of the previous iterations, doesn't support true arrays. Torque 3D has adopted an old TGE arrayObject that was released as a resource on GarageGames but that resource page doesn't appear to be accessible any more. I still have a copy of the arrayObject by Daniel Neilsen which I've added to my own Torque 2D console folders to add array support.
arrayObject.txt
Torque 2D, like some of the previous iterations, doesn't support true arrays. Torque 3D has adopted an old TGE arrayObject that was released as a resource on GarageGames but that resource page doesn't appear to be accessible any more. I still have a copy of the arrayObject by Daniel Neilsen which I've added to my own Torque 2D console folders to add array support.
arrayObject.txt