not sure why this is not working,
with is blank and no checks it changes them all. when the check for the text "U" is only changes all the stars that are "U". If I select
Pick nearest/furthest and set the exact coordinates of the star right bellow each text it works, but sometimes it will change other stars next to it, so not working perfect. do you have another idea to pick the right label with the right uid so only that object gets its text changed?
so run the game, select the star with a U, scan it, and wait. the closer the star to the ship the faster the scan. just FYI for debuging
here is the capx:
https://app.box.com/bridge-command
Its in the Main Event sheet. the code will take each text.uid and store it in an array next to the star.uid when created.
"S"&starData.At(starData.IndexOf(Star.UID), 10) position
the star UID is stored in a global var called starselected for each star you select. the text on the right of the screen if for debugging.
Snumber = Charted Stars
U = Uncharted ( percent will scale down to 1% change to spawn, set to 90% for debugging)
Controls are:
G = hide grid
S = save state
L = Load state
mouse Scroll in or out to Zoom
Left click to select
if you enter coordinates in the textbox on top double click it when finished to move the ship in the angle of the direction you entered.