This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
wilcomega's profile picture

get distance on rednet events.

Started by wilcomega, 25 March 2014 - 04:40 PM
wilcomega #1
Posted 25 March 2014 - 05:40 PM
in the latest beat i could not find a way to get the distance from a (wireless) message. maybe add that back in?
Edited on 25 March 2014 - 04:45 PM
Lyqyd #2
Posted 25 March 2014 - 06:42 PM
Use the modem API instead of the rednet API. In the latest betas, rednet messages may be forwarded through other computers, so distance information would not be reliable.