Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Question about continuous looping in PB

$
0
0
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

Code:
public Program()
		{
			Runtime.UpdateFrequency = UpdateFrequency.Update100;
		}
public void Main(string argument, UpdateType updateType)
		{
			var Checkblock =...
Question about continuous looping in PB

Viewing all articles
Browse latest Browse all 903

Trending Articles