inherited

Category: Script
Since engine version: 4.9.1.0 GWE

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

#strict
#include CLNK
Initialize:
  CreateContents(SWOR);
  return(inherited(Par(), Par(1)));
This could be the script of a new clonk type. It derives its basic functionality from the normal clonk (CLNK) and extends the Initialize function.
See also: _inherited
Sven2, November 2001