HowTo/Read string table or Config text

From TrainzOnline
Revision as of 15:16, 20 May 2023 by Vincentrh (talk | contribs) (Created page with "This page is the continuation of the How To/Upgrade obsolete script functions. More precisely, it's about the new method to read the congig file of an object, and thus its st...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page is the continuation of the How To/Upgrade obsolete script functions.

More precisely, it's about the new method to read the congig file of an object, and thus its string table or another element of its configtext. Two cases are presented to us : the reading concerns the own string table or configtext of an object (in Trainz, an asset), or we want to read the same thing from an object into another object.