Callback: Wagon length

From GRFSpecs
Revision as of 00:16, 9 November 2011 by Frosch (talk | contribs) (refer to new roadveh property)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Wagon length (11)

GRFv8 This callback is only called for GRF version 7 and below. For GRF version 8 and above use callback 36.

This callback is used instead of train property 21 resp. road vehicle property 23 whenever the vehicle leaves a depot or is displayed inside a depot. If the callback fails, the value of the property is used instead.

The callback result may change only when whole vehicle chain is inside a depot.