×
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
    m (switched page to new format)
    m (Added a bit of trivia as well has a reminder of proper EthernetCable placement.)
     
    Line 15: Line 15:
    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>
    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. It is important to remember that EthernetCable is place '''After''' the port and not before.


    [[File:MicrocontrollerDiagram.png]]
    [[File:MicrocontrollerDiagram.png]]
    Line 25: Line 25:
    {{#invoke:GetPartInfo|getField|ConfigurationLarge}}
    {{#invoke:GetPartInfo|getField|ConfigurationLarge}}


    === Trivia ===
    *The Port isnt the only the only way to access parts in-world.
    [[Category:Parts]]
    [[Category:Parts]]
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • 116.111.185.163 • 4 hours ago
  • 116.111.185.163 • 4 hours ago
  • 116.111.185.163 • 4 hours ago
  • 116.111.185.163 • 5 hours ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.