Session scoring

flyboy559

Using Trainz since 2003
Is there a simple way to set up scoring in sessions (similar to the built in ones)? I have tried all afternoon and can't seem to get it to work.
 
Simple, once you've done it the first time. You need to set a trigger at a suitable location, eg., at a drop or load point for example. Then in "Edit Session" where you place the "Rules" you need to add "Ordered List". Then add "Trigger Check" which must be indented (once) to the right. Edit this to add the trigger number, usually have it trigger by whichever loco you are using (otherwise anything could trigger it). Then below that (don't indent further) you may want to add a popup message about what has happened or reason for score (eg, "That's the first load dropped"). Then below that add "Variable Modify" and set that to give whatever points you need.

Presumably you've already added (first) "Ranked Session Begin".

A better way to learn is look at an existing, simple session, and see how they do it.
 
Normally that is how I figure out scripting stuff, but I stared at it for hours yesterday and copied the system used in other sessions and couldn't seem to get it to work, though now I think I may have misplaced the "Variable Modify".
 
Back
Top