I tried this out on Nogova and Saragao and it worked ok:
player sidechat format ["%1",(player distance (nearestBuilding player))]
I don't have Desert Everon but it shouldn't have too many buildings, right? You might try getting all the object IDs for the buildings and put them in an array like this:
_buildings=[3432,23234,564,etc] (use the right #s
)
#loop
~5
_indoors=false
{if (player distance (object _x) < 2) then {_indoors=true}} foreach _buildings
?_indoors:hint "I'm inside!!"
goto "loop"
You could use this to set a global variable as well.