_inherited

Category: Script
Since engine version: 1.0 OC

Description

Calls the overloaded function. A function will overload another function if it is declared in the same scope with the same name. As opposed to inherited, this method is also failsafe, meaning it will not cause an error if the original function doesn't really exist.

Syntax

any _inherited(any ...);

Parameter

...:
Calling Parameters

Example

#appendto Clonk

func Initialize()
{
  CreateContents(Firestone);
  return _inherited(...);
}
Gives a flintstone to each clonk.
See also: inherited
Sven2, 2001-11