GameOver

Category: Global
Since engine version: 1.0 OC

Description

Ends the round. The game will count as won for all surviving players.

Syntax

bool GameOver();

Example

if(!ObjectCount(Find_ID(Rock)))
{
  Log("Hooray, no rocks anymore!");
  GameOver();
}
Ends the round if no more rocks are present.
See also: EliminatePlayer
Günther, 2002-04