-
Notifications
You must be signed in to change notification settings - Fork 24
EntityDetector
ben-mkiv edited this page Nov 16, 2019
·
7 revisions
Entity Detector allows you to detect any entities around the block
Can be used as Upgrade for Drones/Microcontrollers/Robots/Tablets
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)
- Alarm
- Biometric Reader
- Card Writer
- Data Block
- Door Controller
- Energy Turret
- Entity Detector
- Keypad
- Magnetic Card Reader
- NanoFog Terminal
- RFID Reader
- Rolldoor
- Rolldoor Controller
- Security Terminal
- Security Doors