Driver Schedule Rule don't works as it should

ek.skirl

Active member
Hello Trainz world,
First before forgot it: This is from Trainz+ Build 128486

This rukle don't find any drivers. After adding it the first edit shows:

Thread-180208-%231a.jpg

Picture Thread 180208 #1a

The second edit than shows:

Thread-180208-%231b.jpg

Picture Thread 180208 #1b

The behavior is with or without trains in the session the same.
The KUID of the Driver Schedule Rule asset is "<kuid2:82445:90001:9>".

Does anyone know what is missing?
 
Last edited:
I'd had have a look at the script and since I for now not understood all the methods in detail my three remarks may be somewhat greenly.
  • Firstly: Are the parameters case sensitive or not? See lines 109, 208, 313, and 392 with "DriverCharacter" and lines 215, and 225 with"drivercharacter".
  • Secondly: In lines 96, 192, 297, and 380 there will be asked for the Kuid "<kuid:-16:2025>". This kuid I didn't find in Contentent Manager.
  • Thirdly: For now I don't know if it is guaranteed for a for-loop that the loop variable is set to the next value? If not there is a possibly error situation in the second lines of the line pairs 101+107, 110+113, 197+206, 295+326, 302+311, and 378+401.
Does anyone know something about this?
 
Last edited:
Back
Top