You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ben-mkiv edited this page Nov 16, 2019
·
7 revisions
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, zentity.scanPlayers(optionalint: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(optionalint:1-64)