Game Development Community

Get list of objects by groupNum?

by amaranthia · in Torque Game Builder · 06/19/2008 (2:17 pm) · 1 replies

Is it possible to query a list of radio buttons that belong to a specific groupNum?

I can query an object to get its groupNum, but I haven't found a way to query a groupNum for it's obects...

(Note: I've read the Options tutorial, but it doesn't scale very well for what I'm trying to do.)

#1
06/22/2008 (6:20 am)
Try putting them into their own container, then query them them from that container much like you would a SimSet. This is what I do.

I did look over groupNum for just a second, but I don't think a query function like this exists. You would probably have to loop through all your controls checking each for the number.