inherited

Category: Script
Since engine version: 1.0 OC

Description

Calls the overloaded function. A function overloads another function if it is declared with the same name in the same scope.

Syntax

any inherited(any ...);

Parameter

...:
Calling Parameters

Example

#include Clonk

func Initialize()
{
  CreateContents(Sword);
  return inherited(...);
}
This could be the script of a new clonk type. It derives its basic functionality from the normal clonk (Clonk) and extends the Initialize function.
See also: _inherited
Sven2, 2001-11