(05-09-2013, 03:47 AM)JustAnotherPlayer Wrote: CODE 1
CODE 2
Thanks a lot dude that's sorted out both of those problems
(05-09-2013, 04:21 AM)Tomato Cat Wrote: Let me clarify a few things. Is the machine itself starting when the burner lever is pulled, or is it that you can pull the burner lever before the coal pieces are in?
The machine has a main start lever near the cogs as well as the burner lever. If 3 coal are in the burner the machine will start if I pull the start lever even though I havent yet pulled the coal burner lever.
I have thought of a way around this, I can make it so when the coal lever is pulled to 1 position and 3 coals are in place it will become stuck.
Now at the moment the script checks the cog amount and coal amount before the machine will start, so here I could put another check in place that checks that the lever position is at 1, THEN make the machine start.
The problem is im not sure what command will do this? For the others I have "GetLocalVarInt" but that wont work for lever position, is there something like "GetalState" or something like that that'll check the state of the lever? Ive looked through the engine scripts webpage but dont see anything like that.