summaryrefslogtreecommitdiff
path: root/mesecons_detector/doc/nodedetector/description.html
diff options
context:
space:
mode:
authorcoil <51716565+coil0@users.noreply.github.com>2019-08-21 20:52:33 +0000
committerVitaliy <numzer0@yandex.ru>2019-08-21 23:52:33 +0300
commit1a9704f1845fa6d6a4d926a4a3f7d85b5b6a8979 (patch)
tree332afa6eec9d62bf01a81b69c590e13bbbb6e26f /mesecons_detector/doc/nodedetector/description.html
parent8baa789eb180c5a8944682c893478d7f9f874970 (diff)
downloadmesecons-1a9704f1845fa6d6a4d926a4a3f7d85b5b6a8979.tar
mesecons-1a9704f1845fa6d6a4d926a4a3f7d85b5b6a8979.tar.gz
mesecons-1a9704f1845fa6d6a4d926a4a3f7d85b5b6a8979.tar.bz2
mesecons-1a9704f1845fa6d6a4d926a4a3f7d85b5b6a8979.tar.xz
mesecons-1a9704f1845fa6d6a4d926a4a3f7d85b5b6a8979.zip
Add digiline commands for operating node detector (#472)
Diffstat (limited to 'mesecons_detector/doc/nodedetector/description.html')
-rw-r--r--mesecons_detector/doc/nodedetector/description.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/mesecons_detector/doc/nodedetector/description.html b/mesecons_detector/doc/nodedetector/description.html
index ee8c09d..4c62359 100644
--- a/mesecons_detector/doc/nodedetector/description.html
+++ b/mesecons_detector/doc/nodedetector/description.html
@@ -1,8 +1,11 @@
The node detector is a receptor. It changes its state when either any node
or a specific node is detected. Right-click it to set a nodename to scan for.
-It can also receive digiline signals. You can either send "GET" and it will
-respond with the detected nodename or you can send any other string and it will
-set this string as the node to scan for.
+It can also receive digiline signals. For example, you can send
+<code>{distance=4, scanname="default:dirt"}</code>
+to set distance to 4 and scan for dirt. You can omit either parameter.
+There is also a command parameter: <code>{command="get"}</code> will respond
+with the detected nodename and <code>{command="scan"}</code> will respond with
+a boolean using the distance and nodename of the detector.
Nodenames must include the mod they reside in, so for instance default:dirt, not just dirt.
The distance parameter specifies how many blocks are between the node detector and the node to detect.
Automatic scanning with Mesecons output only works when the detector is in an active block, but Digilines queries always work.