Search through datablock objects?
by Playware · in Torque Game Engine Advanced · 01/20/2009 (10:57 pm) · 0 replies
Hi,
I've some shape base datablocks I created. Then in mission editor, I placed some of them into the mission. Then I assigned some dynamic fields to these objects.
What I want to do is in one of onCollision event in these datablock objects, I want to get the information of other datablock objects placed in the mission.
The procedure I could think of is to get the all the objects in the SimGroup first and check through each object type whether it's an object I want to check. But I don't know how I can achieve this.
Thanks for any advice.
I've some shape base datablocks I created. Then in mission editor, I placed some of them into the mission. Then I assigned some dynamic fields to these objects.
What I want to do is in one of onCollision event in these datablock objects, I want to get the information of other datablock objects placed in the mission.
The procedure I could think of is to get the all the objects in the SimGroup first and check through each object type whether it's an object I want to check. But I don't know how I can achieve this.
Thanks for any advice.
About the author