kts.SetTimeLimit

Name

kts.SetTimeLimit – set a time limit for the next game

Synopsis

kts.SetTimeLimit(time_in_seconds)

Description

If this function is called during game setup then the next game will have a time limit of time_in_seconds seconds.

If the time runs out, and the game is a deathmatch, then the player(s) with the highest score will be declared the winner(s). For non-deathmatch games, all players lose when time runs out.

Return Value

None.

Errors

If the value passed is not an integer then an error results.

See Also

kts.SetDeathmatchMode