SetGameSpeed

Category: Global
Since engine version: 4.9.1.0 GWE

Description

Sets game speed.

Syntax

bool SetGameSpeed (int iGameSpeed);

Parameter

iGameSpeed:
Game speed in FPS (frames per second). If this parameter is omitted or 0, the default game speed of 38 FPS is used.

Example

SetGameSpeed(10);
The game runs in slow motion.
PeterW, Mai 2002