GameCallEx

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

Description

Makes a broadcast call to the scenario script, all goals, rules and environment objects. This is what the engine does when it makes a scenario callback, see scenario script callbacks.

Syntax

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

Parameters

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

Example

GameCallEx("InitializePlayer",0);
Causes the scenario script and all goals, rules and environment objects to re-execute intialization for the first player. This is what is done on the normal initialization of a player.
See also: Call, GameCall
Newton, 2011-07