EntityDetector - PC-Logix/OpenSecurity GitHub Wiki
Entity Detector

Entity Detector allows you to detect any entities around the block
Can be used as Upgrade for Drones/Microcontrollers/Robots/Tablets
Methods
entity = require("component").os_entdetector
-- Returns a table of detected entities, also queues a signal for each entity found
-- "entityDetect", with name, range, x, y, z
entity.scanPlayers(optional int:1-64)
-- Returns a table of detected entities, also queues a signal for each entity found
-- "entityDetect", with name, range, x, y, z
-- (This omits players, but can include dropped items)
entity.scanEntities(optional int:1-64)