Use this distance code which detects the cameras postition to an object
Function Dist(Obj)
px#=Camera Position X() : py#=Camera Position y() : pz#=Camera Position z()
ox#=Object Position x(Obj) : oy#=Object Position y(Obj) : oz#=Object Position Z(Obj)
xdist#=px#-ox#
ydist#=py#-oy#
zdist#=pz#-oz#
h#=sqrt((xdist#^2)+(ydist#^2)+(zdist#^2))
EndFunction h#
Then when this value is less than 10 say, then you start showing the objects you want for your bay.
Level Maker 3D: Download from www.levelmaker3d.co.uk/levelmaker3D.asp
DarkBasic Professional Editor: Download from www.levelmaker3d.co.uk/ide.asp