tpw 2314 Posted September 18, 2013 (edited) Hi all Some of my scripts rely on being able to select only the habitable houses (ie those with white walls, red roof and intact windows/doors) around the player. I currently do this using something like this: _housetypes = [ "Land_i_House_Small_01_V1_F", "Land_i_House_Small_02_V1_F", "Land_i_House_Big_02_V1_F", "Land_i_House_Small_03_V1_F", "Land_i_House_Big_01_V1_F", "Land_i_House_Small_01_V2_F" ]; _nearhouses = nearestObjects [getPosATL (vehicle player),_housetypes,100]; hintsilent format ["%1",_nearhouses]; Land_i_ class houses are the habitable ones I'm interested in. The problem is that the resulting hint is showing that Land_u_ class houses are also being picked up even though I'm not scanning for them. Am I doing something stupid here, or is there a bug in the system? Thanks in advance. EDIT: Aargh, I was doing something stupid. "Land_i_House_Small_01_V1_F" is the parent of "Land_u_House_Small_01_V1_F" etc. OK, time to refine the scripts... Edited September 18, 2013 by tpw Share this post Link to post Share on other sites