×
Create a new article
Write your page title here:
We currently have 276 articles on Waste Of Space Wiki. Type your article name above or create one of the articles listed here!



    Waste Of Space Wiki

    Port: Difference between revisions

    Content added Content deleted
    (Put a better description of the port's functions and added information about EthernetCables.)
    No edit summary
    Line 11: Line 11:
    }}
    }}


    A device that allows [[Microcontroller|microcontrollers]] to acess parts in world, to connect to a part you must use the function [https://github.com/iimurpyh/pilot-lua/wiki/Microcontroller-Globals#part-getpartfromportint-port-string-parttype|<code>GetPartFromPort()</code>] and write the ID of the port and the part you wnat to get. Example: <code>GetPartFromPort(1, "Reactor")</code>
    A device that allows [[Microcontroller|microcontrollers]] to acess parts in world, to connect to a part you must use the function [https://github.com/iimurpyh/pilot-lua/wiki/Microcontroller-Globals#part-getpartfromportint-port-string-parttype|<code>GetPartFromPort()</code>] and write the ID of the port and the part you want to get. Example: <code>GetPartFromPort(1, "Reactor")</code>


    The port can only access parts placed on its hole but [[EthernetCable]] can be used to access any part connected to the EthernetCable.
    The port can only access parts placed on its hole but [[EthernetCable]] can be used to access any part connected to the EthernetCable.

    Revision as of 22:50, 18 November 2023

    A device that allows microcontrollers to acess parts in world, to connect to a part you must use the function GetPartFromPort() and write the ID of the port and the part you want to get. Example: GetPartFromPort(1, "Reactor")

    The port can only access parts placed on its hole but EthernetCable can be used to access any part connected to the EthernetCable.

    In-game description

    "An object used primarily in programming. Allows a microcontroller and computers to interact with their surroundings. "

    Configuration

    • PortID(number) [0 - 10000000000] - The ID of this port used to utilize this port by connected microcontrollers.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Axenori • 3 days ago
  • Voivsone • 4 days ago
  • Axenori • 4 days ago
  • Axenori • 5 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.