Trainz Rule Asset
CDE Decouple DLX
Minimum Trainz Version: T:ANE
Date Released: November 13 2021
File Size: 54.17 KB
Freeware Available on DLS
Trainz DLS CDP - FTP Download
Decouple DLX revised by permission from trev999 to CDE Trainz.
A Driver Command which can uncouple any wagon or loco in a consist by number or name, if available, up to 99 wagons. The selected new consist will be detached from the train.
NEW FEATURE: The consist to be uncoupled can be read from a session variable named 'consist_count_' . This value of 'consist_count_' can be stored by driver command 'Special Instructions' as a result of measuring the number of wagons in a consist. Because the variable name ends in an underscore, this command will append the name of its locomotive to the variable name so that only the consist that made the measurement can access the value of the consist count. An option is also provided to select a wagon at random.
rev 1. Revised for TRS19
rev 2. Script classes renamed to avoid conflicts with other scripts
This asset is free to use for personal use. You may modify this and redistribute it, only if it is free of charge and the all the creators are mentioned. Any commercial use is prohibited unless express written permission is granted through CDE Trainz.
TS12 = Trainz Simulator 12
TANE = Trainz A New Era
TMR17 = Trainz Model Railroad 2017
TRS19 = Trainz Railroad Simulator 2019
TRS22 = Trainz Railroad Simulator 2022