<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Class_Interface</id>
	<title>Class Interface - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Class_Interface"/>
	<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;action=history"/>
	<updated>2026-11-05T07:05:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=26564&amp;oldid=prev</id>
		<title>Danny252: Change link to library reference, not language reference</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=26564&amp;oldid=prev"/>
		<updated>2020-12-28T13:45:21Z</updated>

		<summary type="html">&lt;p&gt;Change link to library reference, not language reference&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:45, 28 December 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[TrainzScript &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Language &lt;/del&gt;Reference|API Hierarchy]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[TrainzScript &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Library &lt;/ins&gt;Reference|API Hierarchy]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Interface&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Interface&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Danny252</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=23199&amp;oldid=prev</id>
		<title>Ciceronmt: /* SetAlert */</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=23199&amp;oldid=prev"/>
		<updated>2020-04-13T15:02:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;SetAlert&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:02, 13 April 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l338&quot;&gt;Line 338:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 338:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Syntax&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Syntax&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Interface.SetAlert(&amp;quot;Train Halted due to leaves on line&amp;quot;,&amp;quot;&amp;quot;,10.0,Interface.Colour_Red);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Interface.SetAlert(&amp;quot;Train Halted due to leaves on line&amp;quot;,&amp;quot;&amp;quot;,10.0,Interface.Colour_Red);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Notes&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Notes&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: do not use in &quot;Trainz 2019&quot;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ciceronmt</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=7306&amp;oldid=prev</id>
		<title>Vanguard11: /* Log */</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=7306&amp;oldid=prev"/>
		<updated>2014-06-13T04:10:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Log&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:10, 13 June 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l277&quot;&gt;Line 277:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 277:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Prints a string of text to the &amp;#039;&amp;#039;jetlog.txt&amp;#039;&amp;#039; log file.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Prints a string of text to the &amp;#039;&amp;#039;jetlog.txt&amp;#039;&amp;#039; log file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*See also [[#Print|Print()]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*See also [[#Print|Print()]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*Disabled by default in TS12. See [[CCG/Modelling: TrainzOptions File]].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vanguard11</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=1583&amp;oldid=prev</id>
		<title>Windwalkr at 01:54, 18 October 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=1583&amp;oldid=prev"/>
		<updated>2010-10-18T01:54:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:54, 18 October 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TableHeader|width=55%|margin=15px}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{TableHeader|width=55%|margin=15px}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|bgcolor=#EEEEEE|&#039;&#039;&#039;Predefined 24 bit Red,Green,Blue &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;colour &lt;/del&gt;values&#039;&#039;&#039;||bgcolor=#EEEEEE|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|bgcolor=#EEEEEE|&#039;&#039;&#039;Predefined 24 bit Red,Green,Blue &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;color &lt;/ins&gt;values&#039;&#039;&#039;||bgcolor=#EEEEEE|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|width=375|public define int  Colour_Red = 0xFF0000||width=225|Red&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|width=375|public define int  Colour_Red = 0xFF0000||width=225|Red&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l332&quot;&gt;Line 332:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 332:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;iconTexture&amp;#039;&amp;#039;&amp;#039; = Icon for alert, use an empty string for no icon.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;iconTexture&amp;#039;&amp;#039;&amp;#039; = Icon for alert, use an empty string for no icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;duration&amp;#039;&amp;#039;&amp;#039; = Time in seconds to keep the alert displayed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&amp;#039;&amp;#039;&amp;#039;duration&amp;#039;&amp;#039;&amp;#039; = Time in seconds to keep the alert displayed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&#039;&#039;&#039;colour&#039;&#039;&#039; = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Colour &lt;/del&gt;of alert text as a 24 bit RGB or as one of the [[#RGB &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Colour &lt;/del&gt;Constants|RGB &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Colour &lt;/del&gt;Constants]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&#039;&#039;&#039;colour&#039;&#039;&#039; = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color &lt;/ins&gt;of alert text as a 24 bit RGB or as one of the [[#RGB &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color &lt;/ins&gt;Constants|RGB &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Color &lt;/ins&gt;Constants]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Returned Value&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Returned Value&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*None&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*None&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Windwalkr</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=1104&amp;oldid=prev</id>
		<title>Windwalkr at 16:20, 9 February 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=1104&amp;oldid=prev"/>
		<updated>2010-02-09T16:20:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:20, 9 February 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[TrainzScript &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Langage &lt;/del&gt;Reference|API Hierarchy]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[TrainzScript &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Language &lt;/ins&gt;Reference|API Hierarchy]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Interface&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;**Interface&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Windwalkr</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=242&amp;oldid=prev</id>
		<title>Windwalkr: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=242&amp;oldid=prev"/>
		<updated>2010-02-03T13:58:36Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:58, 3 February 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Windwalkr</name></author>
	</entry>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=241&amp;oldid=prev</id>
		<title>Andi06 at 11:47, 9 August 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Class_Interface&amp;diff=241&amp;oldid=prev"/>
		<updated>2008-08-09T11:47:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;*[[TrainzScript Langage Reference|API Hierarchy]]&lt;br /&gt;
**Interface&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The Interface class provides scripts with methods to handle the user interface.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Constants &amp;amp; Messages==&lt;br /&gt;
&lt;br /&gt;
===RGB Color Constants===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{TableHeader|width=55%|margin=15px}}&lt;br /&gt;
|bgcolor=#EEEEEE|&amp;#039;&amp;#039;&amp;#039;Predefined 24 bit Red,Green,Blue colour values&amp;#039;&amp;#039;&amp;#039;||bgcolor=#EEEEEE|&lt;br /&gt;
|-&lt;br /&gt;
|width=375|public define int  Colour_Red = 0xFF0000||width=225|Red&lt;br /&gt;
|-&lt;br /&gt;
|public define int  Colour_Green = 0x00FF00||Green&lt;br /&gt;
|-&lt;br /&gt;
|public define int  Colour_Blue = 0x0000FF||Blue&lt;br /&gt;
|-&lt;br /&gt;
|public define int  Colour_Yellow = 0xFFFF20||Yellow&lt;br /&gt;
|-&lt;br /&gt;
|public define int  Colour_Cyan = 0xB0C0FF||Cyan&lt;br /&gt;
|-&lt;br /&gt;
|public define int  Colour_White = 0xFFFFFF||White&lt;br /&gt;
|-&lt;br /&gt;
|public define int  Colour_Black = 0x000000||Black&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Button Element Indices===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{TableHeader|width=55%|margin=15px}}&lt;br /&gt;
|bgcolor=#EEEEEE|&amp;#039;&amp;#039;&amp;#039;Constants referring to the buttons on the Driver menu&amp;#039;&amp;#039;&amp;#039;||bgcolor=#EEEEEE|&lt;br /&gt;
|-&lt;br /&gt;
|width=375|public define int  ButtonBar_Element_Close = 0||width=225|Exit button&lt;br /&gt;
|-&lt;br /&gt;
|public define int  ButtonBar_Element_Pause = 1||Pause button.&lt;br /&gt;
|-&lt;br /&gt;
|public define int  ButtonBar_Element_Save = 2||Save button.&lt;br /&gt;
|-&lt;br /&gt;
|public define int  ButtonBar_Element_Performance = 3||Performance Settings button.&lt;br /&gt;
|-&lt;br /&gt;
|public define int  ButtonBar_Element_MetricImp = 4||Imperial/Metric button.&lt;br /&gt;
|-&lt;br /&gt;
|public define int  ButtonBar_Element_Find = 5||Find button.&lt;br /&gt;
|-&lt;br /&gt;
|public define int  ButtonBar_Element_Help = 6||On Screen Help button.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Related Messages===&lt;br /&gt;
*Messages sent to and from Industry objects are listed below:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{TableHeader|width=55%|margin=15px}}&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=&amp;quot;#EEEEEE&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Major&amp;#039;&amp;#039;&amp;#039;||bgcolor=&amp;quot;#EEEEEE&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Minor&amp;#039;&amp;#039;&amp;#039;||bgcolor=&amp;quot;#EEEEEE&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Source&amp;#039;&amp;#039;&amp;#039;||bgcolor=&amp;quot;#EEEEEE&amp;quot; |&amp;#039;&amp;#039;&amp;#039;Destination&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|[[Interface Messages|Interface-Event]]||MapViewOff||?||Broadcast&lt;br /&gt;
|-&lt;br /&gt;
|[[Interface Messages|Interface-Event]]||MapViewOn||?||Broadcast&lt;br /&gt;
|-&lt;br /&gt;
|[[Interface Messages|Interface-Event]]||Mouse-Enter||MapObject||Broadcast&lt;br /&gt;
|-&lt;br /&gt;
|[[Interface Messages|Interface-Event]]||Mouse-Leave||?||Broadcast&lt;br /&gt;
|-&lt;br /&gt;
|[[Interface Messages|Interface-Event]]||Set-Metric-Mode||?||Broadcast&lt;br /&gt;
|-&lt;br /&gt;
|[[Interface Messages|Interface-Event]]||Toggle-Interface||?||Broadcast&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
&lt;br /&gt;
===AdjustScore===&lt;br /&gt;
{{MethodHeader|public void AdjustScore(int delta)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;delta&amp;#039;&amp;#039;&amp;#039; = Positive or negative increment to apply to score.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 AdjustScore(-5);&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Exception===&lt;br /&gt;
{{MethodHeader|public native void Exception(string message)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Message to be displayed and logged when the Exception occurs.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.Exception(&amp;quot;Fatal Error&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
*Allows an exception to be explicitly raised by a script in the event of a major error condition.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetDecoupleMode===&lt;br /&gt;
{{MethodHeader|public native bool GetDecoupleMode(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*Returns the current decoupling mode from the Driver interface.&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool dcMode = Interface.GetDecoupleMode();&lt;br /&gt;
;Notes&lt;br /&gt;
*The decouple mode can be enabled or disabled when the user clicks on the decouple icon located on the Driver button bar or presses &amp;#039;&amp;#039;Ctrl + D&amp;#039;&amp;#039;.&lt;br /&gt;
*When the interface is in decouple mode, the decouple icon will be highlighted.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetDisplayHeight===&lt;br /&gt;
{{MethodHeader|public native int GetDisplayHeight(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*The height of the user&amp;#039;s display in pixels.&lt;br /&gt;
;Syntax&lt;br /&gt;
 int height = Interface.GetDisplayHeight();&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetDisplayWidth===&lt;br /&gt;
{{MethodHeader|public native int GetDisplayWidth(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*The width of the user&amp;#039;s display in pixels.&lt;br /&gt;
;Syntax&lt;br /&gt;
 int width = Interface.GetDisplayWidth();&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetElementProperty===&lt;br /&gt;
{{MethodHeader|public native string GetElementProperty(string elementId, string propertyId)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;elementId&amp;#039;&amp;#039;&amp;#039; = Element to query.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;propertyId&amp;#039;&amp;#039;&amp;#039; = Property to query.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*The value of the specified property if it exists, null otherwise.&lt;br /&gt;
;Syntax&lt;br /&gt;
 &lt;br /&gt;
;Notes&lt;br /&gt;
*This method is used to read element properties of browser windows in the Trainz interface such as the Minimap.&lt;br /&gt;
*See also [[#SetElementProperty|SetElementProperty()]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetInterfaceVisible===&lt;br /&gt;
{{MethodHeader|public native bool GetInterfaceVisible(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if the Driver interface is visible, false otherwise.&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool visible = Interface.GetInterfaceVisible();&lt;br /&gt;
;Notes&lt;br /&gt;
*The entire Driver mode interface can be hidden from view with the &amp;#039;&amp;#039;F5&amp;#039;&amp;#039; key.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetMapView===&lt;br /&gt;
{{MethodHeader|public native bool GetMapView(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if the map view window is visible, false otherwise.&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool visible = Interface.GetMapView();&lt;br /&gt;
;Notes&lt;br /&gt;
*The minimap can be displayed or hidden by pressing &amp;#039;&amp;#039;M&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Control + M&amp;#039;&amp;#039;;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetMessageWindowVisible===&lt;br /&gt;
{{MethodHeader|public native bool GetMessageWindowVisible(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if the message window at the top of the screen is visible, false otherwise.&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool visible = Interface.GetMessageWindowVisible();&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetMetricMode===&lt;br /&gt;
{{MethodHeader|public native bool GetMetricMode(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if the interface is displaying metric units, false for imperial.&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool imperial = !Interface.GetMetricMode();&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetObjectiveBarVisible===&lt;br /&gt;
{{MethodHeader|public native bool GetObjectiveBarVisible()}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if the Driver objective panel is visible, false otherwise.&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool objectivesShown = Interface.GetObjectiveBarVisible();&lt;br /&gt;
;Notes&lt;br /&gt;
*The objective bar visibility can be toggled with the &amp;#039;&amp;#039;F6&amp;#039;&amp;#039; key.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetScore===&lt;br /&gt;
{{MethodHeader|public int GetScore(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*The current score.&lt;br /&gt;
;Syntax&lt;br /&gt;
 int score = GetScore();&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetTimeStamp===&lt;br /&gt;
{{MethodHeader|public native string GetTimeStamp(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*A real time timestamp in seconds.&lt;br /&gt;
;Syntax&lt;br /&gt;
 string timestamp = Interface.GetTimeStamp();&lt;br /&gt;
;Notes&lt;br /&gt;
*Returns the current time expressed as seconds elapsed since midnight on January 1, 1970 UTC.&lt;br /&gt;
*The return value is a string as Trainzscript does not support any extended integer types.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===GetWaybillWindowVisible===&lt;br /&gt;
{{MethodHeader|public bool GetWaybillWindowVisible()}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if the Waybill Window is displayed, false otherwise.&lt;br /&gt;
;Syntax&lt;br /&gt;
 bool waybillVisible = GetWaybillWindowVisible();&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===HasUnseenMessages===&lt;br /&gt;
{{MethodHeader|public native bool HasUnseenMessages(void)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*True if there are messages intended for the Driver message window which have not been displayed, false otherwise.&lt;br /&gt;
;Syntax&lt;br /&gt;
 if (Interface.HasUnseenMessages()) Interface.SetMessageWindowVisible(true);&lt;br /&gt;
;Notes&lt;br /&gt;
*There are unseen messages if the message window is invisible yet messages have been received.&lt;br /&gt;
*This is indicated to the user by the highlighted microphone icon on the Driver button bar.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===HighlightButtonBarElement===&lt;br /&gt;
{{MethodHeader|public native void HighlightButtonBarElement(int buttonIndex, bool state)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;buttonIndex&amp;#039;&amp;#039;&amp;#039; = One of the [[#Button Element Indices|Button Element Index]] values defining the button to highlight.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;state&amp;#039;&amp;#039;&amp;#039; = True to turn highlighting on, false to turn it off.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.HighlightButtonBarElement(ButtonBar_Element_Pause,true);&lt;br /&gt;
;Notes&lt;br /&gt;
*Turns highlighting for a button on the Driver Menu either on or off.&lt;br /&gt;
*This method allows a button on the Driver Menu found in the top left corner of the screen to be highlighted as if the mouse cursor was hovering above that button.&lt;br /&gt;
*Note that the Driver Menu is not always visible, but you can explicitly show it with [[#ShowDriverButtonMenu|ShowDriverButtonMenu()]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Log===&lt;br /&gt;
{{MethodHeader|public native void Log(string message)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Text string to print to log file.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.Log(&amp;quot;Session ended&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
*Prints a string of text to the &amp;#039;&amp;#039;jetlog.txt&amp;#039;&amp;#039; log file.&lt;br /&gt;
*See also [[#Print|Print()]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===LogCallStack===&lt;br /&gt;
{{MethodHeader|public native void LogCallStack(string message)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Text string to be included with the call stack and printed to the log file.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.LogCallStack(&amp;quot;Call Stack Contents&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===LogResult===&lt;br /&gt;
{{MethodHeader|public void LogResult(string message)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Text string to be included with the result and printed to the result log.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.LogResult(&amp;quot;Result Appended&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Print===&lt;br /&gt;
{{MethodHeader|Print()}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Text string to print to log file and to the message window.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.Print(&amp;quot;Session ended&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
*Prints a string of text to the &amp;#039;&amp;#039;jetlog.txt&amp;#039;&amp;#039; log file and echoes it to the messag window.&lt;br /&gt;
*See also [[#Log|Log()]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===ResetResults===&lt;br /&gt;
{{MethodHeader|public void ResetResults()}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*None&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.ResetResults();&lt;br /&gt;
;Notes&lt;br /&gt;
*Clears the result log.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetAlert===&lt;br /&gt;
{{MethodHeader|public native void SetAlert(string message, string iconTexture, float duration, int colour)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Text of message to display.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;iconTexture&amp;#039;&amp;#039;&amp;#039; = Icon for alert, use an empty string for no icon.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;duration&amp;#039;&amp;#039;&amp;#039; = Time in seconds to keep the alert displayed.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;colour&amp;#039;&amp;#039;&amp;#039; = Colour of alert text as a 24 bit RGB or as one of the [[#RGB Colour Constants|RGB Colour Constants]].&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetAlert(&amp;quot;Train Halted due to leaves on line&amp;quot;,&amp;quot;&amp;quot;,10.0,Interface.Colour_Red);&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetDecoupleMode===&lt;br /&gt;
{{MethodHeader|public native void SetDecoupleMode(bool enabled)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;enabled&amp;#039;&amp;#039;&amp;#039; = Use true to enable decoupling, false to prevent.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetDecoupleMode(false);&lt;br /&gt;
;Notes&lt;br /&gt;
*The driver interface decoupling mode can be enabled or disabled using the icon on the Driver button bar or by keypress &amp;#039;&amp;#039;Ctrl + D&amp;#039;&amp;#039;.&lt;br /&gt;
*When the interface is in decouple mode, the decouple icon will be highlighted.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetElementProperty===&lt;br /&gt;
{{MethodHeader|public native void SetElementProperty(string elementId, string propertyId, string value)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;elementId&amp;#039;&amp;#039;&amp;#039; = Element to update.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;propertyId&amp;#039;&amp;#039;&amp;#039; = Property to update.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; = New value to set.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetElementProperty(elementId,propertyId,value);&lt;br /&gt;
;Notes&lt;br /&gt;
*This method is used to modify element properties of browser windows in the Trainz interface such as the Minimap&lt;br /&gt;
*See also [[#GetElementProperty|GetElementProperty()]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetHelperIconScale===&lt;br /&gt;
{{MethodHeader|public native void SetHelperIconScale(float scale)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;scale&amp;#039;&amp;#039;&amp;#039; = Scale factor to apply to on screen junction icons etc, range 0.5..1.0&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetHelperIconScale(0.5); // set to 50% of default size&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetMapView===&lt;br /&gt;
{{MethodHeader|public native void SetMapView(bool visible)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;visible&amp;#039;&amp;#039;&amp;#039; = Use true to display and false to hide.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetMapView(true);&lt;br /&gt;
;Notes&lt;br /&gt;
*The user can show or hide the map view window by pressing &amp;#039;&amp;#039;M&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Ctrl + M&amp;#039;&amp;#039; on the keyboard&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetMessageWindowVisible===&lt;br /&gt;
{{MethodHeader|public native void SetMessageWindowVisible(bool visible)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;visible&amp;#039;&amp;#039;&amp;#039; = Use true to display and false to hide.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 if (Interface.HasUnseenMessages()) Interface.SetMessageWindowVisible(true);&lt;br /&gt;
;Notes&lt;br /&gt;
*See Also [[#GetMessageWindowVisible|GetMessageWindowVisible()]] and [[#HasUnseenMessages|HasUnseenMessages()]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetMetricMode===&lt;br /&gt;
{{MethodHeader|public native mode SetMetricMode(bool useMetric)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;useMetric&amp;#039;&amp;#039;&amp;#039; = Use true to select metric units, false to select imperial.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetMetricMode(false);&lt;br /&gt;
;Notes&lt;br /&gt;
**See also [[#GetMetricMode|GetMetricMode()]].&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetObjective===&lt;br /&gt;
{{MethodHeader|public native void SetObjective(string message, string iconTexture)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Text for objective message.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;iconTexture&amp;#039;&amp;#039;&amp;#039; = Icon to display, use an empty string to omit the icon.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetObjective(&amp;quot;Line closed ahead&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
*This method will cause the driver objective panel to become visible.&lt;br /&gt;
*The User can hide or show the panel at their discretion.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetObjectiveBarVisible===&lt;br /&gt;
{{MethodHeader|public native void SetObjectiveBarVisible(bool visible)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;visible&amp;#039;&amp;#039;&amp;#039; = Use true to display and false to hide.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetObjectiveBarVisible(false);&lt;br /&gt;
;Notes&lt;br /&gt;
*The Driver objective bar can be toggled between invisible and visible by pressing the &amp;#039;&amp;#039;F6&amp;#039;&amp;#039; key.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetObjectiveIcon===&lt;br /&gt;
{{MethodHeader|public native void SetObjectiveIcon(string iconTexture)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;iconTexture&amp;#039;&amp;#039;&amp;#039; = Icon to display, use an empty string to remove a previous icon.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetObjectiveIcon(&amp;quot;&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
*The image file to use as the icon must be a 32x32 *.tga image.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetResults===&lt;br /&gt;
{{MethodHeader|public native void SetResults(string message)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = String to display in results box.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetResults(&amp;quot;Result text to display&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
*Displays the results of a scenario.&lt;br /&gt;
*This method will change the activities menu to the results screen and fill out the results box with the given string.&lt;br /&gt;
*The results will be visible when the user closes the activity module.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetScore===&lt;br /&gt;
{{MethodHeader|public native void SetScore(string message)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; = Message to display in the activity bar.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetScore(&amp;quot;Score&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetTooltip===&lt;br /&gt;
{{MethodHeader|public native void SetTooltip(Browser tooltip)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;tooltip&amp;#039;&amp;#039;&amp;#039; = Browser to use as a tooltip window, if null the current tooltip will be removed.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetTooltip(tooltip);&lt;br /&gt;
;Notes&lt;br /&gt;
*Sets the tooltip that should follow the mouse around.&lt;br /&gt;
*This method specifies that tooltip should follow the mouse.&lt;br /&gt;
*Any existing tooltip will be replaced.&lt;br /&gt;
*If this Browser is released, it will be removed automatically.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SetWaybillWindowVisible===&lt;br /&gt;
{{MethodHeader|public void SetWaybillWindowVisible(bool visible)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;visible&amp;#039;&amp;#039;&amp;#039; = Use true to display and false to hide.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.SetWaybillWindowVisible(false);&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===ShowDriverButtonMenu===&lt;br /&gt;
{{MethodHeader|public native void ShowDriverButtonMenu(bool visible)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;visible&amp;#039;&amp;#039;&amp;#039; = Use true to display and false to hide.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.ShowDriverButtonMenu(true);&lt;br /&gt;
;Notes&lt;br /&gt;
*Showing and hiding is not immediate, there may be a delay before it slides on or off.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===ShowObjective===&lt;br /&gt;
{{MethodHeader|public native void ShowObjective(bool visible)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;visible&amp;#039;&amp;#039;&amp;#039; = Use true to display and false to hide.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.ShowObjective(true);&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===ShowOnScreenHelp===&lt;br /&gt;
{{MethodHeader|public native void ShowOnScreenHelp(bool visible)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;visible&amp;#039;&amp;#039;&amp;#039; = Use true to display and false to hide.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.ShowOnScreenHelp(true);&lt;br /&gt;
;Notes&lt;br /&gt;
*This method performs the same function as the &amp;#039;&amp;#039;Show On-screen Help&amp;#039;&amp;#039; menu item in Driver which is used to display or hide names on map objects such as junctions.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===WarnObsolete===&lt;br /&gt;
{{MethodHeader|public native void WarnObsolete(string warning)}}&lt;br /&gt;
;Parameters&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;warning&amp;#039;&amp;#039;&amp;#039; = Message to log to &amp;#039;&amp;#039;jetlog.txt&amp;#039;&amp;#039; at the first time this method is called.&lt;br /&gt;
;Returned Value&lt;br /&gt;
*None&lt;br /&gt;
;Syntax&lt;br /&gt;
 Interface.WarnObsolete(&amp;quot;Method is obsolete&amp;quot;);&lt;br /&gt;
;Notes&lt;br /&gt;
*Generates a runtime warning that a given function or usage is obsolete.&lt;br /&gt;
*The warning goes to the JetLog.txt file and is not visible to the casual user within Trainz. &lt;br /&gt;
*Only one warning is generated for any given warning string.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Code Examples==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Related Methods==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Categories==&lt;br /&gt;
[[Category:Script Class]]&lt;/div&gt;</summary>
		<author><name>Andi06</name></author>
	</entry>
</feed>