GameCall

Category: Script / Function call
Since engine version: 1.0 OC

Description

Calls function in the scenario script. If the function is not defined in the scenario script, this call returns nil and does not cause an error.

Syntax

any GameCall(string function, any ...);

Parameters

function:
Name of the scenario script function.
...:
[opt] Up to nine parameters which are passed to the scenario script function.

Example

GameCall("InitializePlayer",0);
Causes the scenario script to re-execute intialization for the first player.
See also: Call, GameCallEx
Günther, 2002-04