Parent Rule List
From TrainzOnline
(Difference between revisions)
m (→Parent Rules that Apply a Logic Test Before Executing Child Rules) |
m (→Parent Rules that Apply a Logic Test Before Executing Child Rules) |
||
Line 6: | Line 6: | ||
*'''[[Session_Rule_List_with_Parameters#Consist_Check_Rule|Consist Check Rule]]'''. Executes Child Rules when a consist contains specific vehicles or vehicle types. | *'''[[Session_Rule_List_with_Parameters#Consist_Check_Rule|Consist Check Rule]]'''. Executes Child Rules when a consist contains specific vehicles or vehicle types. | ||
*'''[[Session_Rule_List_with_Parameters#Control_Check_Rule|Control Check Rule]]'''. Executes Child Rules when the driver control method has changed or a specific control method has been set. | *'''[[Session_Rule_List_with_Parameters#Control_Check_Rule|Control Check Rule]]'''. Executes Child Rules when the driver control method has changed or a specific control method has been set. | ||
− | *'''[[Session_Rule_List_with_Parameters# | + | *'''[[Session_Rule_List_with_Parameters#Coupler_Breakage_Check_Rule|Coupler Breakage Check Rule]]'''. Executes Child Rules when a coupler has been broken. |
*'''[[Session_Rule_List_with_Parameters#Directional Trigger Check Rule|Directional Trigger Check Rule]]'''. Executes Child Rules when activated by a train moving in a set direction. | *'''[[Session_Rule_List_with_Parameters#Directional Trigger Check Rule|Directional Trigger Check Rule]]'''. Executes Child Rules when activated by a train moving in a set direction. | ||
*'''[[Session_Rule_List_with_Parameters#Driver Command Check Rule|Driver Command Check Rule]]'''. Executes Child Rules when the driver commands match a predefined list. | *'''[[Session_Rule_List_with_Parameters#Driver Command Check Rule|Driver Command Check Rule]]'''. Executes Child Rules when the driver commands match a predefined list. |
Revision as of 23:52, 1 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 Creation Tutorials:
Related Session Creation Tutorials: