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

OpenPeripheralsAddons Sensor event

Started by Dreossk, 05 April 2014 - 02:33 PM
Dreossk #1
Posted 05 April 2014 - 04:33 PM
Is there an event we can pull from the OpenPeripheralsAddons Sensor when a player is detected or do we really have to do a fast loop? Also is this documented somewhere or is it like OpenPeripherals?
Edited on 05 April 2014 - 02:48 PM
theoriginalbit #2
Posted 05 April 2014 - 05:02 PM
No there is no event, you have to loop through the entities list.
Yes OpenPeripheral-Addons is like OpenPeripheral, and just like OpenPeripheral you can use the docs program to tell you the methods and their arguments.