I'm pretty sure I could do this with a trigger and the right session rules... Not at all sure I can puzzle out how to do this :-(
I could use some suggestions re: what session (or driver?) rules I should be looking at.
-----------------------------End of main bit-------(read further only if still interested)-----------------
I'd like to have this so I get a sense of accomplishment for all the freight I export from my route (as I'm sure you've figured out). I've never done anything much with session rules (esp the nesting bit) but it's high time I start (comp-sci major and all that... LOL)
I figure I'll start with a trigger on a one-way (out) track, and I'll nest the rest of the logic (session rules) under the "wait for trigger" (or trackmark, etc) rule.
Where I'm stuck (mainly) (so far) is the way to get the consist's load, so I can add all the various commodities to their respective variables. (I know I stumbled upon that rule ... shoot: or was it a script?). I just have no recollection of where or when.
Again, any suggestions about the names of potentially useful rules would be so helpful. And/Or point me in the direction (URL?) of the man pages to the "Library of Session Rules" (if such a thing exists - seeing as how there are so many different creators-of-rules). I get fairly well lost (distracted, more like) on the Wiki - and I never know if I've found all there is on a given topic...
On a (somewhat) related topic, while we're on the subject:
**** Is there a (simple?) way to tell a train's direction of travel when it crosses a trigger? ***
I've tried to work the problem with 2 triggers and timers and such but it seems pretty convoluted and absurdly complicated. I'm sure I'm just missing the rule that does this already.
Thanks, folks. Lost w/o all the help... --- Chris
I could use some suggestions re: what session (or driver?) rules I should be looking at.
-----------------------------End of main bit-------(read further only if still interested)-----------------
I'd like to have this so I get a sense of accomplishment for all the freight I export from my route (as I'm sure you've figured out). I've never done anything much with session rules (esp the nesting bit) but it's high time I start (comp-sci major and all that... LOL)
I figure I'll start with a trigger on a one-way (out) track, and I'll nest the rest of the logic (session rules) under the "wait for trigger" (or trackmark, etc) rule.
Where I'm stuck (mainly) (so far) is the way to get the consist's load, so I can add all the various commodities to their respective variables. (I know I stumbled upon that rule ... shoot: or was it a script?). I just have no recollection of where or when.
Again, any suggestions about the names of potentially useful rules would be so helpful. And/Or point me in the direction (URL?) of the man pages to the "Library of Session Rules" (if such a thing exists - seeing as how there are so many different creators-of-rules). I get fairly well lost (distracted, more like) on the Wiki - and I never know if I've found all there is on a given topic...
On a (somewhat) related topic, while we're on the subject:
**** Is there a (simple?) way to tell a train's direction of travel when it crosses a trigger? ***
I've tried to work the problem with 2 triggers and timers and such but it seems pretty convoluted and absurdly complicated. I'm sure I'm just missing the rule that does this already.
Thanks, folks. Lost w/o all the help... --- Chris