Game Development Community

Sorted/Organized lists in Script: Possible?

by Jeremy Miller · in Torque Game Engine · 01/12/2006 (2:28 pm) · 2 replies

I've been meddling around the resources section, and make good use of my [Enter] key (Searching) but haven't turned up anything as far as Torque implementing any kind of sorted or organized list.

For example, if I had a list of all AI Players currently running around, would there be a method of sorting this list alphabetically or perhaps by each AI Player's score?

#1
01/12/2006 (2:45 pm)
I would recommend you to check out the Array Resource, that enables you to use Arrays inside Torque Script.
All the features you mentioned are possible there.

Good luck!
#2
01/12/2006 (3:49 pm)
Many thanks, Stefan. That fit the bill perfectly!