Session Parms
<kuid2:61392:1024:1>
Author: | pguy |
Kind: | behavior |
Build: | 2.5 |
Size: | 22.83KB |
Uploaded: | 2011-04-16 |
Website: | pierre.guy.free.fr/trainz/trainz_en.htm |
Downloads: |
13
-
+
|
Session Parms
This rule enables to define session parameters as string variables with inital data set by the rule on the start of the session.
These string variables can be accessed as standard SessionVariables from standard SessionVariables library.
The meaning and data value for the variables are defined by the other rules or driver commands using these variables.
For example, the rule define by defaut five session parameters :
:debug can be LOG or MC or BOTH to send debug trace data to log or to the MC console rule or to both.
sched:wait_mini to set the minimum wait time at a station for some driver command
sched:wait_maxi idem to set maximum wait time
sched:late_delay to set a tolerance daly if the train is late on its timetable
:drive_mode can be AUTODRIVE or AUTOPILOT or DRIVETO to use autodrive command by Brummfondel, autopilot command by _mutton_ or driveto command by Auran
more explanations available on web site with documentation and/or tutorials.
...
Author: pguy
- Session Parms
- config.txt 5.36KB
- sessparm.jpg 30.68KB
- sessparm.tga 16.04KB
- sessparmhdl.gs 13.50KB
- sessparmrule.gs 7.38KB
VE48: This asset uses an obsolete trainz-build number. Trainz-build numbers below 3.5 are no longer supported.
User photos
No one has uploaded a photo of this object yet.
Comments:
Sign in to post a comment