|
CDE Decouple DLX | ||
Type: | Driver Command | ||
Downloaded: | 908 | ||
File Size: | 54.17 kb | ||
File Type: | .cdp | ||
Created by: | Christopher824 | ||
Date: | 13th November 2021 | ||
Version: | TANE | ||
KUID2: | <KUID2:647907:100949:2> | ||
Description: 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. Thank you for following CDETrainz.com |