Description
This is the component provided by the Entity Detector block.
Component name: os_entdetector
.
This is the component provided by the Entity Detector block.
Component name: os_entdetector
.
scanPlayers([range:number])
Returns a table of detected entities, also queues a signal for each entity found
scanEntities([range:number])
Returns a table of detected entities, also queues a signal for each entity found (This omits players, but can include dropped items)
entityDetect(address: string, name: string, range: number, x:number, y:number, z:number)
This signal is queued by the Entity Detector for each entity found when a method of os_entdetector called by a computer.
address
is the address of the Entity Detector
name
is the name of the entity
range
is the range of the Entity Detector
x
is the x coordinate of the entity
y
is the y coordinate of the entity
z
is the z coordinate of the entity