Is there any way to just select a star?

edited March 2012 in AstroSynthesis General
One of the most infuriating things I'm finding about AS3 is that I can't seem to just highlight a star - if I search for a star, I want to be able to have the option of just highlighting it without the screen automatically centering on it. This is handy so I can get an idea of where a star is relative to another one.

Is there any way to do this?

Comments

  • I've managed to hack the Label Distance plugin so that it finds the star name in the plugin and turns the label visible from 10,000 ly away and sets it a different colour to stand out. It's a rather clunky way to do it though - is there a better way?
    #plugin Find Specific Star
    #author	EDG
    #desc Find the star shown below and highlight it
    
    sector = GetCurrentSector()
    j = sector.SystemCount
    For i = 1 to j 
    	o = sector.GetSystem( i-1)
    	If o.name = "Omicron Capricorni A" Then
    		o.Modified = true
    		o.LabelDistance = 10000
    		o.RouteDistance = 10000
    		o.LabelColor = 400000
    	End if
    
    	
    Next
    sector.RenderMessageBig = ""
    sector.RenderMessageSmall = ""
    RefreshScene
    
  • There's no way to do it without a script.

    The next update will have scripting support for the natural language search, so you'll be able to generate a list of bodies using the same type of query you'd use in the search box, and then have easy access to the results for selecting and manipulating.

Leave a Comment