findchild like command in irrlicht

BlitzMax Forums/BlitzMax Programming/findchild like command in irrlicht

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok what I want to do is findchild like blitz3d but in bmax using irrlicht with a model. I have tried
Local torch1 = room.getchild("torch1")

but it doesnt work because it's looking for a index number so I dont think getchild is the right route so anyone have any idea?