What I'm trying to create is a script that will go through stars in the sector and do the following:
If the combined stellar mass of two stars is over a given level (call it X), the stars are connected by a route if they are closer than Y light years apart, where Y is calculated from X.
So, for instance, if Y = X*6, and you have two stars of 1 solar mass each, X = 2 and Y = 12. So if the stars are within 12 light years of each other, they are connected by a route.
I've been able to figure out a script that takes two selected stars and tells me via text box if they are connected or not. What I have not been able to figure out is how to connect those two stars (assuming they are within the right distance) by a route that shows up on the screen. If I knew how to get the script to draw a route between two selected stars, it should be reasonably simple to modify the script to cycle through the stars. I just can't figure out how to create that simple route.
Comments
Yeah, it kinda pisses me off actually. I don't really see the point of having an API if the author isn't going to bother to explain what half of the fuctions/properties are or how to use them. It's not as if there's much of a community on these boards that can help eachother out either.