GameCallEx

Category: Script / Function call
Since engine version: 4.6.5.0 CP

Description

Calls szFunction in the scenario script and in rules, goals and environment objects. If the function doesn't exist no error is generated and nil is returned.

Syntax

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

Parameters

szFunction:
Name of the scenario 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.
See also: Call, DefinitionCall, GameCall, ObjectCall
Fulgen, Juli 2016