-
Notifications
You must be signed in to change notification settings - Fork 31
Methods
jorgun edited this page Dec 11, 2012
·
3 revisions
getTargets() - gets the targets in a range specified by the card (for the inventory card, it is adjacent blocks and the peripheral) returns table
getTargetDetails(string) - gets detailed information about the target. Use the name of the target from returns table getTargets() getSensorName() - gets the type of the sensor (should probably rename this getSensorType, but hey, WIP :3)
getSensorMethods() - each card can optionally have its own methods - this allows you to find out what these methods are
sensorCardCall() - calls the above methods as returned by getSensorMethods() (c) Cloudy form the ComputerCraft forum OpenCCSensors post