Game Development Community

Vector in torquescript

by gamer · in Torque Game Engine · 04/14/2006 (5:27 pm) · 2 replies

Is there an equivalent of Vector in torquescript. basically a data structure that can dynamically or remove elments. I tried this resource:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4711,
it seems like it's already beem merged into tge.
However when I do:
%myArray=new Array();
it says:
unable to instantiate nonconobject.

any idea?
thanks

#1
04/14/2006 (6:26 pm)
Take a look at the Array Resource. Search the site and you'll find it.
#2
04/15/2006 (11:53 am)
You should be using SimSets.