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