I tried the code like this but it didn’t work. I need it to save the “Switch” status for the new option.
That just sets the save to itself.
This Save Switch I made, should work. Let me know if theres any bugs.
Code Here
{"data":{"behavior":{"v":"2","nodes":[{"inputCount":3,"outputCount":1,"name":"Save Switch","behaviorType":"logic.NodeGroup","x":810,"y":432,"group":"","id":"f278160645691b4d","isMenuItem":false},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":-32,"group":"f278160645691b4d","id":"f27834335ce52a46","portId":"f278160645691b4di0","tag":"Off","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":48,"group":"f278160645691b4d","id":"f278499b49f6d045","portId":"f278160645691b4di1","tag":"On","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":-90,"y":128,"group":"f278160645691b4d","id":"f27870adb043724a","portId":"f278160645691b4di2","tag":"In","dataType":2},{"inputCount":3,"outputCount":1,"name":"Switch","behaviorType":"logic.logic.Switch","x":270,"y":-32,"group":"f278160645691b4d","id":"f2788c16a6efea44","_startVal":0,"dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":0,"y":-32,"group":"f278b19f7b02d841","id":"f278c5524834ed4e","portId":"f278b19f7b02d841i0","tag":"off","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":0,"y":64,"group":"f278b19f7b02d841","id":"f278db12cc880041","portId":"f278b19f7b02d841i1","tag":"on","dataType":2},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":48,"group":"f278b19f7b02d841","id":"f278f3f36605f448","startVal":1,"tag":"On","roundMode":1},{"inputCount":3,"outputCount":1,"name":"Number","behaviorType":"logic.logic.Value","x":180,"y":-48,"group":"f278b19f7b02d841","id":"f278f627e18fbc44","startVal":2,"tag":"Off","roundMode":1},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":360,"y":0,"group":"f278b19f7b02d841","id":"f279612486a97247","portId":"f278b19f7b02d841o0","tag":"Save","dataType":2},{"inputCount":0,"outputCount":1,"name":"Bundle Input","behaviorType":"logic.NodeGroupInput","x":0,"y":176,"group":"f278b19f7b02d841","id":"f27983d6a6ac924e","portId":"f278b19f7b02d841i2","tag":"Save","dataType":2},{"gateVal":2,"mode":"equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":360,"y":160,"group":"f278b19f7b02d841","id":"f279be50a1232f43"},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":540,"y":128,"group":"f278b19f7b02d841","id":"f279d06283a4ca48","portId":"f278b19f7b02d841o1","tag":"off","dataType":2},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":540,"y":208,"group":"f278b19f7b02d841","id":"f27a1c2cc8bbb447","portId":"f278b19f7b02d841o2","tag":"on","dataType":2},{"gateVal":0,"mode":"not equal to","inputCount":2,"outputCount":2,"name":"Filter","behaviorType":"logic.logic.Filter2","x":180,"y":160,"group":"f278b19f7b02d841","id":"f27b757987babd43"},{"inputCount":3,"outputCount":3,"name":"Save","behaviorType":"logic.NodeGroup","x":90,"y":-96,"group":"f278160645691b4d","id":"f278b19f7b02d841","isMenuItem":false},{"inputCount":2,"outputCount":1,"name":"Save Number","behaviorType":"logic.logic.Storage","x":90,"y":-192,"group":"f278160645691b4d","id":"f27a68e941334942","storageKey":"Save Name","dataType":2},{"inputCount":0,"outputCount":1,"name":"Once","behaviorType":"logic.triggers.Once","x":-90,"y":-112,"group":"f278160645691b4d","id":"f27ab616dff19f4e","resetOnLevelStart":false},{"inputCount":1,"outputCount":0,"name":"Bundle Output","behaviorType":"logic.NodeGroupOutput","x":450,"y":-32,"group":"f278160645691b4d","id":"f27b0e0a627bd24c","portId":"f278160645691b4do0","tag":"On","dataType":2}],"links":[{"input_id":"f278b19f7b02d841i0","output_id":"f27834335ce52a46o0"},{"input_id":"f2788c16a6efea44i0","output_id":"f27834335ce52a46o0"},{"input_id":"f278b19f7b02d841i1","output_id":"f278499b49f6d045o0"},{"input_id":"f2788c16a6efea44i1","output_id":"f278499b49f6d045o0"},{"input_id":"f2788c16a6efea44i2","output_id":"f27870adb043724ao0"},{"input_id":"f27b0e0a627bd24ci0","output_id":"f2788c16a6efea44o0"},{"input_id":"f278f627e18fbc44i1","output_id":"f278c5524834ed4eo0"},{"input_id":"f278f3f36605f448i1","output_id":"f278db12cc880041o0"},{"input_id":"f279612486a97247i0","output_id":"f278f3f36605f448o0"},{"input_id":"f279612486a97247i0","output_id":"f278f627e18fbc44o0"},{"input_id":"f27b757987babd43i1","output_id":"f27983d6a6ac924eo0"},{"input_id":"f279d06283a4ca48i0","output_id":"f279be50a1232f43o0"},{"input_id":"f27a1c2cc8bbb447i0","output_id":"f279be50a1232f43o1"},{"input_id":"f279be50a1232f43i1","output_id":"f27b757987babd43o0"},{"input_id":"f27a68e941334942i0","output_id":"f278b19f7b02d841o0"},{"input_id":"f2788c16a6efea44i0","output_id":"f278b19f7b02d841o1"},{"input_id":"f2788c16a6efea44i1","output_id":"f278b19f7b02d841o2"},{"input_id":"f278b19f7b02d841i2","output_id":"f27a68e941334942o0"},{"input_id":"f27a68e941334942i1","output_id":"f27ab616dff19f4eo0"}]}}}
Thanks for it, it worked.
1 Like