Strange Behaviour? What am I doing wrong?
Posted: Sat Aug 25, 2018 7:20 am
Hi, i'm not sure if this is meant to be like this?
I'm sure I must have something wrong..?
I want to tell my train to wait until a certain cargo is under 100.
This works fine for normal items, but I want it to wait until a fluid is under 100. But its not available as an option?
This might be because i'm running a combination of Bobs and Angels mods?
So, I came up with a work around, to read contents of train, AND send it back again.
Using a simple Decider, if water (on train) is under 100, send a green square signal of 1.
And change the train to wait until green square > 0.
For some reason, this doesnt work. It pulls in, and immediately leaves again. Its almost like it hasn't got the signal, done the calculation, and sent back a signal in time.
Adding a "AND Time Passed 1 sec" causes it to work correctly. The train waits until water is under 100.
But I also wanted other factors in play, that makes this not work.
eg, Wait Until:
cargo: copper plates < 100,
OR, cargo: tin plates < 100,
OR, cargo: iron plates < 100,
OR, green square > 1
So adding an "AND time passed 1 sec" causes undesired results. (wish I could define a better If statement, with brackets to define the OR/AND priorities...)
So i've now come up with an even bigger work around, where ALL calculations are done by Deciders, and the train simply has:
Time Passed 1 second, AND, green square > 1.
It works, but it seems like a lot of work arounds for something that should be easy?
Am I missing something?
Thanks in advance
I'm sure I must have something wrong..?
I want to tell my train to wait until a certain cargo is under 100.
This works fine for normal items, but I want it to wait until a fluid is under 100. But its not available as an option?
This might be because i'm running a combination of Bobs and Angels mods?
So, I came up with a work around, to read contents of train, AND send it back again.
Using a simple Decider, if water (on train) is under 100, send a green square signal of 1.
And change the train to wait until green square > 0.
For some reason, this doesnt work. It pulls in, and immediately leaves again. Its almost like it hasn't got the signal, done the calculation, and sent back a signal in time.
Adding a "AND Time Passed 1 sec" causes it to work correctly. The train waits until water is under 100.
But I also wanted other factors in play, that makes this not work.
eg, Wait Until:
cargo: copper plates < 100,
OR, cargo: tin plates < 100,
OR, cargo: iron plates < 100,
OR, green square > 1
So adding an "AND time passed 1 sec" causes undesired results. (wish I could define a better If statement, with brackets to define the OR/AND priorities...)
So i've now come up with an even bigger work around, where ALL calculations are done by Deciders, and the train simply has:
Time Passed 1 second, AND, green square > 1.
It works, but it seems like a lot of work arounds for something that should be easy?
Am I missing something?
Thanks in advance