Game.GetGameScheme

Declaration

Game.GetGameScheme()

Description

Returns the GameScheme object with the match settings.

--Gets the game scheme and prints some of its settings in the Scripts Console
local scheme = Game.GetGameScheme();

Print("Starting Bombs: " .. scheme.StartingBombs);
Print("Starting Blast Radius: " .. scheme.StartingPower);
Print("Preserve Shield: " .. tostring(scheme.PreserveShield));
Print("Drop Chance: " .. scheme.DropChance);
Print("Impact Bombs: " .. tostring(scheme.ImpactBombs));
Print("Game mode: " .. tostring(scheme.GameMode));