Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local n=component.proxy(component.list("navigation")())
- local c=component.proxy(component.list("chunkloader")())
- local g=component.proxy(component.list("geolyzer")())
- local m=component.proxy(component.list("modem")())
- local x, y, z = n.getPosition()
- if m.open(1000) == false then
- event.onError("failled to bind port")
- end
- local function test()
- if c.isActive() == false then
- c.setActive(true)
- end
- end
- local function pos()
- m.broadcast(1000, x)
- m.broadcast(1000, y)
- m.broadcast(1000, z)
- end
- test()
- pos()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement