Parent Rule List
From TrainzOnline
(Difference between revisions)
m (→Trainz Wiki) |
m |
||
Line 6: | Line 6: | ||
</table> | </table> | ||
---- | ---- | ||
− | + | <br> | |
='''Parent Rules that Apply a Logic Test Before Executing Child Rules'''= | ='''Parent Rules that Apply a Logic Test Before Executing Child Rules'''= | ||
Line 40: | Line 40: | ||
*'''[[Session_Rule_List_with_Parameters#Wait on Waybill Screen/Main Screen Rule|Wait on Waybill Screen/Main Screen Rule]]'''. Executes child rules when the Waybill window is opened or closed. | *'''[[Session_Rule_List_with_Parameters#Wait on Waybill Screen/Main Screen Rule|Wait on Waybill Screen/Main Screen Rule]]'''. Executes child rules when the Waybill window is opened or closed. | ||
*'''[[Session_Rule_List_with_Parameters#Wait Rule|Wait Rule]]'''. Executes child rules after waiting for set number of seconds. | *'''[[Session_Rule_List_with_Parameters#Wait Rule|Wait Rule]]'''. Executes child rules after waiting for set number of seconds. | ||
− | + | <br> | |
='''Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules'''= | ='''Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules'''= | ||
Line 50: | Line 50: | ||
---- | ---- | ||
---- | ---- | ||
− | + | <br> | |
='''Trainz Wiki'''= | ='''Trainz Wiki'''= | ||
*'''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>''' | *'''<span class="plainlinks">[http://online.ts2009.com/mediaWiki/index.php/HowTo How to Guides]</span>''' |
Revision as of 23:57, 21 June 2018
Parent Rules are session rules that can have one or more sub-rules or Child Rules indented under them. Only certain rules can be Parent Rules. |
Parent Rules that Apply a Logic Test Before Executing Child Rules
- Achievement Check Rule. Executes Child Rules when set achievement levels have been reached.
- Consist Check Rule. Executes Child Rules when a consist contains specific vehicles or vehicle types.
- Control Check Rule. Executes Child Rules when the driver control method has changed or a specific control method has been set.
- Coupler Breakage Check Rule. Executes Child Rules when a coupler has been broken.
- Directional Trigger Check Rule. Executes Child Rules when activated by a train moving in a set direction.
- Driver Command Check Rule. Executes Child Rules when the driver commands match a predefined list.
- Multiple Junction Alignment Check Rule. Executes Child Rules when specified junctions have been set.
- Multiple Resource Check Rule. Executes Child Rules when specified vehicles or industries have reached set commodity (product) levels.
- Navigation Set Check Rule. Executes Child Rules when a navigation set is complete or incomplete.
- Objective Check Rule. Executes Child Rules when set session objectives have been achieved (or not achieved).
- Resource Check Rule. Executes Child Rules when a specified vehicle or industry has reached set commodity (product) levels.
- Resource Verify Rule. Executes Child Rules when a specified vehicle or industry has reached set commodity (product) levels.
- Safety System Engaged Check Rule. Executes Child Rules when the safety system has been engaged.
- Safety System Isolated Check Rule. Executes Child Rules when the safety system has been isolated.
- Session Debug Rule. Executes the first Child Rule if the user selects Debug Mode otherwise executes the second Child Rule.
- Signal Passed at Danger Check Rule. Executes Child Rules when a consist passes a signal set to Stop.
- Speeding Check Rule. Executes Child Rules when a consist exceeds a set speed.
- Station Visited Check Rule. Executes Child Rules when specified consists stop at specific stations or industries.
- Timecheck Rule. Executes Child Rules at a specific Trainz clock time.
- Trackside Check Rule. Executes Child Rules when a consist enters the range of a specific trigger.
- Trigger Check Rule. Executes Child Rules when a consist enters the range of a specific trigger.
- Variable Check Rule. Executes Child Rules when a variable passes a specific logic test.
- Wait for Camera View Mode Rule. Executes Child Rules when the camera is changed to a set view.
- Wait for Click on HUD Icon Rule. Executes Child Rules when a specific HUD icon is clicked.
- Wait for Derailment Rule. Executes Child Rules when a consist is derailed.
- Wait for Driver On/Off Train Rule. Executes Child Rules when a driver gets on or off a train.
- Wait for Driver/Train to be Locally Owned Rule. Executes child rules when a specific driver or vehicle is locally owned.
- Wait on Navigation Point Rule. Executes child rules when a specific navigation point is completed.
- Wait on Train Stop/Start Rule. Executes child rules when a train stops or starts moving.
- Wait on Waybill Screen/Main Screen Rule. Executes child rules when the Waybill window is opened or closed.
- Wait Rule. Executes child rules after waiting for set number of seconds.
Parent Rules that Do Not Apply a Logic Test Before Executing Child Rules
- Ordered List Rule. Executes all Child Rules individually in sequential order.
- Progressive List Rule. Executes Child Rules progessively each time the list is run.
- Random List Rule. Executes once only and randomly selects one Child Rule to execute.
- Reset List Rule. Executes all Child Rules in order and continuosly.
- Simultaneous List Rule. Executes all Child Rules simultaneously.
Trainz Wiki
- How to Guides
- Session Rules List (Alphabetical) with Parameters
- Session Rules List (Categories) With Parameters
Route Creation Tutorials:
Session Creation Tutorials:
- How to Create a HTML Asset (Session Introduction Page and In Game Messages)
- How to Control Junctions in Sessions
- How to Control Signals in Sessions
- How to Use Message Popup Rule
- How to Use Message Popup Rule (Applications)
- How to Use Navigation Point Rules
- How to Use Navigation Point Rules (Applications)
- How to Use Navigation Point Rules
- How to Use Parent and Child Rules
- How to Use Track Triggers
- How to Use Variables in Sessions (Examples)