Game Development Community

Array v SimSet

by Kevin James · in Torque Game Builder · 04/07/2010 (11:35 am) · 2 replies

When do I want to use a SimSet instead of an Array to store a list of objects?

About the author

Computer security, digital forensics, and platform jumper enthusiast. shells.myw3b.net/~syreal/


#1
04/07/2010 (12:15 pm)
If you want to delete the objects in the container when you delete the container, then use a SimSet otherwise, just the container gets deleted unless you loop through it and delete each object first.

That and lots of other discussion on it here.
#2
04/07/2010 (12:17 pm)
Okay, thanks again!