Problems with "Variable Check" rule

schouten25

New member
Hello,
I have some problems with the use of the "Variable Check" rule. I want in TS2009 my "AI" to come out of the Roundhouse on demand of the "Resource Check" rule. For one AI it is no problem, but when I have more AI's in the roundhouse and more then one resource check rule will demand a train short after each other, the last AI will take command over the turntable and de first AI will stall. I thought this must be possible by use of variables. I tried the following setup:
Variable Show (make the variable score)
Variable Modify (change score into 0)
Reset List
Variable Check (check if score=0)
Resource Check
Variable Modify (change score into 1)
Driver Schedule Rule
Trigger Check (Trigger outside the turntable to be checked by the loco to give the turntable free)
Variable Modify (change score into 0, to give access for
other AI's)

I made these set of rules for every AI and it works fine except if a second resource command comes in during the time the first AI is still in front of or on the turntable and takes over command. I can see the variable on my screen and even if it is "1" the command is taken over. I tried with and withoud the rule "Ordered List" on several locations but no success.

Can anyone tell me where I went wrong?

Joop
 
I have experimented now with "Variable check" rule and this one just don't work. I'm using german version of Trainz 2006 SP 1 called ProTrain Perfect. I can't understand how can Auran release such a untested program. Even more ... the same bug is still not fixed in 2009!!! Very poor work Auran. You are releasing the same program with just little changes again and again ... and bugs are still not fixed!!!!! Another big bug is when using "Trigger check" rule. You can activate checkboxes "Trigger only once" and "if driving backwards" but this don't work also. When switching off "Trigger only once" rule will work also driving backwards. This is stupid they haven't fix it yet. Please do it.
 
With a name of murphy, you can be sure that if something goes wrong, It will at the worst possible time. I speak from experience. Try a simpler method. Also don,t demand or you won't get anywhere. Auran is getting to fixs but the sheer size of the program means important things first.Fixing the scripts on the variables would probably be the creators job and I bet their all VERY busy
baz (murphy)
 
I'm just wondering why are they putting such unfinished things in package. Isn't it stupid You can create and modify variables but ... without possibility to check the value later? This makes those variables absolutely useless and pointless. What is the meaning of such rules at all?
 
Glad to say it's still working ... but ... You have to know that "Variable Check" is type of "check" and not type of "event" rule so it'll not wait until something (triggers for examples).
There has been always problems with helping materials. You'll never find everything from one central place - Trainz 2006 website. So don't wonder why people are asking such questions.
 
Back
Top