node detector and digiline

Post Reply
dlucca
New member
Posts: 3
Joined: Fri Jun 09, 2017 16:12
In-game: lelo06

node detector and digiline

by dlucca » Post

Good evening at all , someone could explain how to use digilines and node detectors ?
For example:
Let the node detector communicate with the lcd screen....
thank you all

CmdrDeliver
New member
Posts: 4
Joined: Mon Jul 30, 2018 19:55

Re: node detector and digiline

by CmdrDeliver » Post

I know it's been ages. I was looking for the same information and had to go to the source code to figure it out.

First, this is the only block I've found so far that only takes GET in uppercase. I'll assume the player detector has the same defect since it has the same code base.

1) Place the Node Detector and set it's Digiline name.
2) Send digiline_send("nodedetector_name_you_set","GET") -- UPPERCASE GET ONLY
3) Response has what you're looking for.
4) If you digiline_send("nodedetector_name_you_set","default:air") it will set the name of the item the detector is looking for.

Hope this helps.

if event.type == "interrupt" or event.type == "program" then
digiline_send("test","GET")
interrupt (10)
end
print (event)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests