Wiki News Account creation no longer requires administrator approval - edits are still moderated, however.

SetGameModeLimit

From Zandronum Wiki
Jump to navigation Jump to search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

void SetGameModeLimit (int limit, int value)

Usage

Changes the value of the corresponding limit CVar to value.

Parameters

  • limit: The limit to change. One of:
    • GAMELIMIT_FRAGS = 0
    • GAMELIMIT_TIME = 1
    • GAMELIMIT_POINTS = 2
    • GAMELIMIT_DUELS = 3
    • GAMELIMIT_WINS = 4
    • GAMELIMIT_WAVES = 5
  • value: The new value of the limit. For GAMELIMIT_TIME, this must be a fixed-point number; for all other limits, it must be an integer.

Examples

This article lists no examples, please add one.