TARGET is usually a vessel or body, but if you are close enough to be able to select one, it can also be a docking port. A docking port doesn't inherit from orbitable, so the usual attempt to rendezvous won't work.
It is probably worth doing some type checking in the scripts when determining what is a valid target.
It would also be nice if you could pick a specific port to force the docking routine to choose that.
TARGET
is usually a vessel or body, but if you are close enough to be able to select one, it can also be a docking port. A docking port doesn't inherit from orbitable, so the usual attempt to rendezvous won't work.It is probably worth doing some type checking in the scripts when determining what is a valid target.
It would also be nice if you could pick a specific port to force the docking routine to choose that.