kts.SetDeathmatchMode

Name

kts.SetDeathmatchMode – enable or disable deathmatch mode

Synopsis

kts.SetDeathmatchMode(enabled)

Description

Turns on or off deathmatch mode for the upcoming game. enabled must be true for a deathmatch game, or false for a normal game (the default).

In deathmatch mode, certain changes to the game logic are made, e.g. each knight will have a "Score" instead of separate "Kills" and "Deaths" values.

Return Value

No value is returned.

Errors

None.

Notes

This can only be called during game setup – deathmatch mode cannot be turned on or off mid-game.