Search results
From TrainzOnline
Create the page "Trainz Script" on this wiki!
Page title matches
- Scripting is one of most powerful tools when creating trainz assets. so scripters, like me, get a lot of request for script work.4 KB (582 words) - 23:15, 16 January 2018
Page text matches
- ...ainer's tag name. These names are used to refer to specific junctions from script. ...x between multiple junctions, and requires a detailed understanding of the trainz [[Permit]] system. If ommitted, the junction will use a unqiue mutex.3 KB (324 words) - 04:03, 5 February 2014
- ... used to refer to specific meshes from within the mesh-table and also from script. This page describes [[trainz-build]] 4.1.13 KB (1,973 words) - 18:15, 8 January 2024
- trainz-build 2.4 script "meatworks"14 KB (931 words) - 04:49, 28 November 2017
- This page describes [[trainz-build]] 4.6. ...e the animation for a mesh. Usually, the animation will be controlled by a script related to the asset.2 KB (230 words) - 17:17, 16 June 2021
- ...me code, as one of the [[Vehicle Attachment Points]] predefined for use in Trainz. * From within an asset's script for various purposes.7 KB (1,164 words) - 09:44, 11 October 2017
- ...ed to track the state of in game browsers. All messages are broadcast and Trainz supports multiple browsers so you need to be sure that any messages receive ...cks on the close button or presses the Escape key in ''any'' browser. Your script should respond by resetting the browser object to null.1,002 B (172 words) - 13:58, 3 February 2010
- The term ''Asset'' refers to an individual item of content for Trainz. All assets have a [[Class KUID|KUID]] which provides unique identificatio ...h allows descriptive labels to be used instead. This makes it easier for a script to refer to the [[Class KUID|KUID]] or the asset concerned:5 KB (670 words) - 11:32, 29 December 2020
- *This class provides an interface with the Trainz [[MiniBrowser]] allowing the programmer to provide a simple HTML interface. ...r-URL message will take the form of ''Browser-URL,live://anthem'' and your script can intercept the message and respond accordingly.16 KB (2,150 words) - 10:32, 19 June 2021
- *This class is the interface class used for cabins and interior assets in Trainz. *If a cabin asset is to have custom scripted features, it's script class will need to be derived from this one.5 KB (690 words) - 13:47, 28 December 2020
- ...ss providing the ability to create instances of certain other classes from script. *Trainzscript does not normally allow game classs to be created in script, these methods allow for exceptions to this rule.3 KB (323 words) - 13:47, 28 December 2020
- *A script class to represent a level crossing or similar object. *By default a crossing is automatically controlled by Trainz native code.6 KB (727 words) - 05:02, 26 February 2024
- Quite a few Trainz classes now fall under the GSObject hierarchy. Classes that directly inheri Currently there is only one major usage of GSObject in the Trainz API and that is as a generic object parameter array for the Library.Library1,002 B (154 words) - 13:37, 28 December 2020
- *This method is called by Trainz to determine the product requirements of an industry so that a waybill list *Called by Trainz once when a process is ready to stop running.18 KB (2,301 words) - 00:05, 4 October 2023
- *Allows an exception to be explicitly raised by a script in the event of a major error condition. *This method is used to read element properties of browser windows in the Trainz interface such as the Minimap.16 KB (2,067 words) - 13:45, 28 December 2020
- ...duplication of source files and standardizing certain extended features of Trainz as it has evolved. ==Script Heirarchy==14 KB (1,904 words) - 00:18, 22 June 2022
- ...mesh to an attachment point or controlling an animation can be done from a script. For animation Trainz interpolates between key frames. This means an intermediate animation frame14 KB (1,839 words) - 12:25, 25 December 2023
- ...ties. Properties are referred to in the class methods by their propertyID. Trainz determines this by reference to links in the object browser in the form ''l ... that it can request an object's state via callbacks. Trainz relies on the script programmer to give careful thought to what data is needed to save and resto17 KB (2,173 words) - 09:22, 5 April 2021
- |public define int AUTOMATIC = -1||Signal state is automatically handled by Trainz. *Owned signals cannot have their signal aspect altered by any script except the owner, including the signal itself.17 KB (2,555 words) - 04:33, 26 February 2024
- ...t]], such as [[config.txt file]]s. Soups are used in various places within Trainz as a way to load and save data, such as property settings. ...descend directly from GSObject enabling them to be passed as parameters to script libraries.12 KB (1,608 words) - 10:49, 3 May 2011
- *The current language version of Trainz. [[Category:Script Class]]4 KB (500 words) - 16:16, 21 January 2017