Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

raycar5

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by raycar5

  1. With this eeprom you can send the drone any lua command via network message in port 123 and it will execute it and send the response as a broadcast in the same port (if there's no response you'll get a bunch of nil)

    
    local m = component.proxy(component.list("modem")())
    m.open(123)
    local typ
    local data
    while true do 
    while typ ~= "modem_message" do
    typ,_,_,_,_,data = computer.pullSignal()
    end
    local f = assert(load(data))
    w,x,y,z = f()
    m.broadcast(123, w,x,y,z)
    typ = nil
    f = nil
    end
    
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.