Managing total number of bots

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
mrudi
Inserter
Inserter
Posts: 23
Joined: Mon Nov 28, 2016 2:03 am
Contact:

Managing total number of bots

Post by mrudi »

I have automated the construction of bots. What i would like to do is have an inserter insert into a port whenever the total number of all bots fall to a certain number. I tried using wire but (as expected) it only counted the bots in that port, not all bots (all my ports are linked by the way).

Is there a way to do this?

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Managing total number of bots

Post by daniel34 »

viewtopic.php?f=18&t=38006 How to automatically add bots to network

TL;DR connect inserter and roboport with circuit wire (red/green wire), set the roboports Mode of operation to Read Robot Statistics, set the condition of the inserter to the same signal that's set in Output Signals in the roboport. This will check against all robots in the whole network, not just the one roboport.
quick links: log file | graphical issues | wiki

User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 869
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Managing total number of bots

Post by mexmer »

just note, connect only single roboport, otherwise they will multiple, like daniel said, it shows count of all robots in logistic network.

Post Reply

Return to “Gameplay Help”