Hello Trainz lovers,
My problem is to append a schedule task (list of driver commands) to a current schedule task of a train triggering a trigger. All trains triggering this trigger shell get a different task appended decided by the value of a variable.
My approach doesn't work well because the "Driver Schedule Rule" seems not to run as I expect it to. After testing this is in my eyes because this rule is to be assigned to a driver.
My planned session needs a schedule rule that is a kind of trigger with possibility to append driver command to the triggering train without knowing the driver on it. Is there any?
Greetings from Germany
Ekkehard
The planned session:
There is a portal (TrainGenerator PTG) and three portals (TrainDest_A PTDA, TrainDest_B PTDB, and TrainDest_C PTDC).
Near TG on the one track part are a trigger TR and a TrackmarkTM followed by two junctions JA to left side track to PTDA and JC to right side track to PTDC.
The portal TG generates every minute (randomly) a train from its list. The 1st, 4th, 7th, ... train shall get the schedule to navigate to PTDA. The 2nd, 5th, 8th, ... train shall get the schedule to navigate to PTDB. The other shall get the schedule to navigate to PTDC.
The Trains at the portals list get a driver and the task to "Drive viaTM".
With help of session rules the trains current schedule shall be appended by the destination when reaching the trigger TR. The destination of the train will be decided by a variable DEST (1 -> PTDA, 2 -> PTDB, 3 -> PTDC) .
My current ruzle approach is principle running in its logic:
Picture Thread 180201 #1
My problem is to append a schedule task (list of driver commands) to a current schedule task of a train triggering a trigger. All trains triggering this trigger shell get a different task appended decided by the value of a variable.
My approach doesn't work well because the "Driver Schedule Rule" seems not to run as I expect it to. After testing this is in my eyes because this rule is to be assigned to a driver.
My planned session needs a schedule rule that is a kind of trigger with possibility to append driver command to the triggering train without knowing the driver on it. Is there any?
Greetings from Germany
Ekkehard
The planned session:
There is a portal (TrainGenerator PTG) and three portals (TrainDest_A PTDA, TrainDest_B PTDB, and TrainDest_C PTDC).
Near TG on the one track part are a trigger TR and a TrackmarkTM followed by two junctions JA to left side track to PTDA and JC to right side track to PTDC.
The portal TG generates every minute (randomly) a train from its list. The 1st, 4th, 7th, ... train shall get the schedule to navigate to PTDA. The 2nd, 5th, 8th, ... train shall get the schedule to navigate to PTDB. The other shall get the schedule to navigate to PTDC.
The Trains at the portals list get a driver and the task to "Drive viaTM".
/-------------PTDA
PTG-------TR---TM-----JA--JC----------PTDB
\---------PTDC
With help of session rules the trains current schedule shall be appended by the destination when reaching the trigger TR. The destination of the train will be decided by a variable DEST (1 -> PTDA, 2 -> PTDB, 3 -> PTDC) .
My current ruzle approach is principle running in its logic:

Picture Thread 180201 #1
Last edited: