Returns a setting of the current match. This includes rule overrides by custom stages. If the rule override for time is set to 0 (disabling the timer), then SET_TIMER will still return the normal time setting.
Argument | Type | Description |
---|---|---|
setting | :real | The match setting to check. |
Example, called from a stage’s init.gml:
//This sets a wave amount for a custom game mode that overrides the normal timer.
waves_left = get_match_setting( SET_TIMER );