Function Override: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
{{article end
{{article end
|notes=
|notes=
* Similar systems are used for [[Terrain Type]]s ([[Terrain Type Overrides]] and [[Unit Type]]s ([[Unit Type Overrides]]).
* Similar systems are used for [[Terrain Type]]s ([[Terrain Type Override]]s) and [[Unit Data]]s ([[Unit Data Override]]s).
|seealso=
|seealso=
*[[Function]]
*[[Function]]

Revision as of 14:24, 1 February 2024

This article is a stub.

Function Override is an item that stores changes made to properties of a Function.

When an attribute, function value or other property of a Function is requested, the Function always checks if a Function Override of that function exists and if it overrides that property. In such cases, the property of the Function Override is returned. This system also allows to reset overridden properties back to the original values of the Function, by simply deleting the property in the Function Override.