This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

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.