object criteria "NN:20;"

This is a moderated forum that collects tutorials, guides, and references for creating Transcendence extensions and scripts.
Post Reply
User avatar
Star Weaver
Militia Commander
Militia Commander
Posts: 311
Joined: Sun Nov 07, 2010 10:20 pm
Location: . . . between the stars and the warm black sky . . .

I just want to make sure people know about this. (sysFindObject gSource "sNN:20;") searches for ships, for example (the s), and returns only the one exacty closest one (the N), but only returns that closest one if it also happens to be within 20 light seconds (the N:20;) ... until today it had never cooured to me that you might not be restricted from using both forms of N at once.
Image
Image
Image
Post Reply