FrameCounter

Category: Global
Since engine version: 4.9.1.0 GWE

Description

Returns the current frame number. This counter starts at 0 at the beginning of each round and increases by roughly 37 frames per second, depending of the performance of the computer.

Syntax

int FrameCounter ();

Example

if (FrameCounter()>11100) GameOver();
Ends the game if it has been running for more than 5 minutes.
See also: ScriptCounter
Sven2, April 2002