Processors¶
A vessel can potentially have more than one processor
on board. It is possible for them to query information about each other and interact.
Accessing processors¶
The easiest way of accessing the vessel’s processors
is to use the following function:
-
PROCESSOR
(volumeOrNameTag)¶ Parameters: Depending on the type of the parameter value will either return the processor associated with the given
Volume
or the processor with the given name tag.
A list of all processors can be obtained using the List command:
LIST PROCESSORS IN ALL_PROCESSORS.
PRINT ALL_PROCESSORS[0]:NAME.
Finally, processors can be accessed directly, like other parts and modules:
PRINT SHIP:MODULESNAMED("kOSProcessor")[0]:VOLUME:NAME.