Help Req in spatial analyst: Distance + other factor to creat Raster..

Discussion created by slatif on Oct 5, 2010
I am stuck at a simpler task ..
I am working on a building data, I need to creat a raster such that the value at each point is as follows.

value at test point = distance from source point + (No of walls between source and the test point)

I had done with the distance thru eucledian dist, now how can i work on the number of walls between source and test points..