FrameCounter

Category: Global
Since engine version: 1.0 OC

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.
Sven2, 2002-04