Logic Machine Forum
Widget creator send only 1 - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Widget creator send only 1 (/showthread.php?tid=1424)



Widget creator send only 1 - Jayce - 01.06.2018

Hello, is there or could there be a way to make ON/OFF button in widget creator to only send 1 (ON)?


RE: Widget creator send only 1 - balatis - 01.06.2018

A solution is with skript
if event.getvalue() == false then
grp.write('1/1/1', true)
end


RE: Widget creator send only 1 - Jayce - 04.06.2018

Yes, that is indeed a possibility but it only changes the value from 0 to 1. First the value was 0 which already triggers something else.