Is this the sort of thing you're looking for? It uses "for each." But that might would get pretty CPU heavy if you have a lot of wall objects. If all you're doing is changing the color of walls, then you might want a different method that doesn't use LOS.
That's exactly what I was looking for, thanks Deadeye. What I'm basicly after is a roguelike LOS system that reveals walls as you see them. So now there's the problem of me having possibly hundreds of Walls that I have to check LOS on. I was kind of expecting the "Has LOS to" condition would've picked the object in LOS..
Are your walls solid? Do you by any chance have your LOS obstacle setting on "Solid objects?"
Yeah my walls are solid but I'm using different sprites inside them to block LOS with a custom obstacle list.