<?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=Help%3AVE272</id>
	<title>Help:VE272 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Help%3AVE272"/>
	<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Help:VE272&amp;action=history"/>
	<updated>2026-11-05T18:40:31Z</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=Help:VE272&amp;diff=47281&amp;oldid=prev</id>
		<title>Pw3r: Created page with &quot;&#039;&#039;&#039;No overridden function found when calling inherited().&#039;&#039;&#039;  Reported by the TrainzScript compiler when a function calls &#039;inherited()&#039;, but no function of the same name e...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Help:VE272&amp;diff=47281&amp;oldid=prev"/>
		<updated>2026-08-10T02:19:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;No overridden function found when calling inherited().&amp;#039;&amp;#039;&amp;#039;  Reported by the &lt;a href=&quot;/wiki/TrainzScript&quot; title=&quot;TrainzScript&quot;&gt;TrainzScript&lt;/a&gt; compiler when a function calls &amp;#039;inherited()&amp;#039;, but no function of the same name e...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;No overridden function found when calling inherited().&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Reported by the [[TrainzScript]] compiler when a function calls &amp;#039;inherited()&amp;#039;, but no function of the same name exists in any parent class. At runtime this call would throw a script exception.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;inherited()&amp;#039; should only be used inside a function that genuinely overrides a parent class function. If the function is new (not an override), remove the &amp;#039;inherited()&amp;#039; call. If it is meant to be an override, check that a parent class really declares a matching function, and that the parameter list matches.&lt;br /&gt;
&lt;br /&gt;
For assets with trainz-build &amp;gt;=5.6 this is an error; on earlier content it is a warning.&lt;br /&gt;
&lt;br /&gt;
[[Category:Validation Errors]]&lt;/div&gt;</summary>
		<author><name>Pw3r</name></author>
	</entry>
</feed>