I think I understand where your going with this. spite.X, sprite.Y is the position. Pick nearest works but, only for the nearest. If the information is stored in instance variables of the spite, it's easy to retrieve and send to a text box, for example, "Textbox set text to sprite.info". Create a family called FamilyEnemy and put all your enemy bases in it. Then use pick nearest.
I have a radar that works tracking moving objects and displays in a radar screen. It's not exactly what your looking for but the principle is the same for obtaining X and Y positions.
The info displays with a visual radar at the bottom of the screen, displaying objects off screen.
If you want to display info for multiple base locations and multiple info for each, it depends on how much info you want to display and how you want to display it. You'll have to calculate the distance for each and use that info to sort the enemy bases by distance. It would be best to load into an array and sort within an array.
Hope this helps get you started...