Posted 15 June 2013 - 08:04 PM
Hi! This API lets you set rednet (for lack of a better term) "waypoints" to let your turtles navigate to different places.
Download:
pastebin get 7wbEnhwv beacon
Documentation:
(assumes beacon is the loaded API name)
Hope this is useful!
Download:
pastebin get 7wbEnhwv beacon
Documentation:
(assumes beacon is the loaded API name)
--#For the hosting computer/turtle
beacon.host(channel,message)
--#channel is the channel it will broadcast on
--#message is the message it will send, good for identification on the same channel (If absent defaults to "")
--#It will respond to "PING" messages on the channel "channel", and reply with the message you specified
--#For the recieving turtle
beacon.goTo(channel,message)
--#The channel and message must match that of the host
--#Bonus feature: If you call it like beacon.goTo(true), it goes to the first GPS server that responds!
--#It breaks any blocks in its way
--#When message is absent, it takes any signal from that channel
Hope this is useful!