Antenna#

class RemoteTech.Antenna()#

A RemoteTech antenna. Obtained by calling RemoteTech.Comms.getAntennas() or RemoteTech.antenna().

Antenna.getPart()#

Get the part containing this antenna.

Property:

Read-only, cannot be set

Return type:

SpaceCenter.Part

Antenna.getHasConnection()#

Whether the antenna has a connection.

Property:

Read-only, cannot be set

Return type:

boolean

Antenna.getTarget()#
Antenna.setTarget(value)#

The object that the antenna is targetting. This property can be used to set the target to RemoteTech.Target.none or RemoteTech.Target.activeVessel. To set the target to a celestial body, ground station or vessel see RemoteTech.Antenna.getTargetBody(), RemoteTech.Antenna.getTargetGroundStation() and RemoteTech.Antenna.getTargetVessel().

Property:

Can be read or written

Return type:

RemoteTech.Target

Antenna.getTargetBody()#
Antenna.setTargetBody(value)#

The celestial body the antenna is targetting.

Property:

Can be read or written

Return type:

SpaceCenter.CelestialBody

Antenna.getTargetGroundStation()#
Antenna.setTargetGroundStation(value)#

The ground station the antenna is targetting.

Property:

Can be read or written

Return type:

string

Antenna.getTargetVessel()#
Antenna.setTargetVessel(value)#

The vessel the antenna is targetting.

Property:

Can be read or written

Return type:

SpaceCenter.Vessel

class RemoteTech.Target()#

The type of object an antenna is targetting. See RemoteTech.Antenna.getTarget().

Target.activeVessel#

The active vessel.

Target.celestialBody#

A celestial body.

Target.groundStation#

A ground station.

Target.vessel#

A specific vessel.

Target.none#

No target.