get_match_setting

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.

ArgumentTypeDescription
setting:realThe match setting to check.

Indexes Reference

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 );