How did control.lua and /c interact with circuit network?

Place to get help with not working mods / modding interface.
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 74
Joined: Sat May 29, 2021 6:12 pm
Contact:

How did control.lua and /c interact with circuit network?

Post by meifray »

For example,when I change signal output from a constant combinator using /c , did other decider combinator change value accordingly in that command execution? if I make a long lua code to output circuit state change,is it observable?

and what is proper way to make a custom combinator?
is there any documentation of forum post that can give me such information?

If there's none, I guess I will try to do such research in lua and post result later :\
eugenekay
Filter Inserter
Filter Inserter
Posts: 513
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: How did control.lua and /c interact with circuit network?

Post by eugenekay »

Circuit changes should be visible on the next “Tick”. You can use the Time controls in Editor Mode to inspect Circuit behavior step-by-step.

You can look at other Mods like Logistic Group Combinator as a good Example.

Good luck!
Post Reply

Return to “Modding help”