so I've just gotten into playing with the PB in game and was wondering how to make a script continuously loop
basically I'm trying to make it so refineries cant be turned off and if they are, to then instantly turn the back on.
I'm using a timer block as a check to link multiple refineries. any help would be appreciated
Question about continuous looping in PB
basically I'm trying to make it so refineries cant be turned off and if they are, to then instantly turn the back on.
I'm using a timer block as a check to link multiple refineries. any help would be appreciated
Code:
public Program()
{
Runtime.UpdateFrequency = UpdateFrequency.Update100;
}
public void Main(string argument, UpdateType updateType)
{
var Checkblock =...