@Worldeater: Thanks. I'll take a look at intersect. I'm not really looking for collision detection. I would like to know if a unit is close to a fence or wall, or close to the outside of a building, etc. Distance to a near object doesn't work because it's to the center of the object, not the nearest surface of the object. So if you have a long rectangular object like a building, the unit might be standing inches from a building wall, but the distance to the building center would return meters.
I'm thinking if I take an object's bounding box, expand the box coordinates in all directions by 1/2 meter, I would then have a box that I could test if a unit was within it. That test is likely simple geometry of a point being within an area. My problem is I don't understand that math. Obviously, ARMA trigger detection of units does this math in 2D space.
@Spooner: Thanks dude. I'll take a look at SPON LOS. It may not be what I need, but I know I will learn something cool. BTW, that holo map is wild.