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

Detect Entity Function

Started by Jowajon, 29 June 2013 - 05:57 PM
Jowajon #1
Posted 29 June 2013 - 07:57 PM
The melee turtle is next to useless without some kind of detection. I suggest adding a function that tries to detect a monster x amount of spaces in front of the turtle and returns x.
Lyqyd #2
Posted 29 June 2013 - 08:45 PM
OpenCCSensors adds the ability to sense things like entities. Even without this, turtles can tell if there's an entity there, if they can't move forward and don't detect a block in the way. Locked.