Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
GameCall
Category:
Script/Function call
Since engine version:
4.6.5.0 CP
Description
Calls szFunction in the scenario script. If the function is not defined in the scenario script, this call returns
null
and does not cause an error.
Syntax
any
GameCall (
string
szFunction,
any
...);
Parameters
szFunction:
Name of the scenario script function
...:
[optional] Up to nine parameters which are passed to the scenario script function
Example
GameCall(
"InitializePlayer"
, 0);
Causes the scenario script to re-execute initialization for the first player.
See also:
Call
,
DefinitionCall
,
GameCallEx
,
ObjectCall
Günther, April 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script