|
|
 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
Gazz Moderator (Script&Mod)


Joined: 13 Jan 2006 Posts: 12152 on topic Location: Bavaria

 |
Posted: Sun, 10. Aug 08, 11:40 Post subject: [LIB] Get surrounding sectors |
|
|
Returns a list of sectors within X jumps of the supplied sector, null if none apply.
Arg 1: start sector
Arg 2: min jump range
Arg 3: max jump range
Arg 4: include start sector
(ZIP)
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
Dogs and colour blindness explained: People with green eyes can't see dogs.
Last edited by Gazz on Mon, 11. Aug 08, 01:57; edited 1 time in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Nadrek
Joined: 20 Mar 2008
|
Posted: Mon, 11. Aug 08, 00:33 Post subject: |
|
|
Not to sound ungrateful, but how practical is it to put in a minimum range argument as well, so an expanding search can be implemented (among other things) - i.e. search between 0 and 3 sectors from starting position, then from 4 to 6, then 7 to 9, etc.
Thank you, also, for another useful library!
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
 |
|
|
|
|
|