# Game Get Test Config Type
Grammar — Game get test config type
Flags —Native
|Function
Returns the game test config type. This will only be non-zero if it is requested via the command line and the game is examinable.
Returns — int
native int GameTestConfigType();
# Related
Category: Game / Game Settings
- Map Initialization —
void
— TriggerAddEventMapInit - Save Game Started —
void
— TriggerAddEventSaveGame - Save Game Finished —
void
— TriggerAddEventSaveGameDone - Load Game Finished —
void
— TriggerAddEventLoadGameDone - Set Game Speed —
void
— GameSetSpeedValue - Game Set Quit On Quit Button —
void
— GameSetQuitOnQuitButton - Set Global Time Scale —
void
— GameSetGlobalTimeScale - Pause Mission Time —
void
— GameSetMissionTimePaused - Mission Time Paused —
bool
— GameIsMissionTimePaused - Mission Time —
fixed
— GameGetMissionTime - Set Minimum Game Speed —
void
— GameSetSpeedValueMinimum - Lock Game Speed —
void
— GameSetSpeedLocked - Game Speed Factor —
fixed
— GameGetSpeed - Game Speed —
int
<preset::GameSpeed> — GameGetSpeedValue - Global Time Scale —
fixed
— GameGetGlobalTimeScale - Game Speed Minimum —
int
<preset::GameSpeed> — GameGetSpeedValueMinimum - Game Speed Is Locked —
bool
— GameIsSpeedLocked - Attribute Game Value —
string
<attributevalue> — GameAttributeGameValue - Attribute Player Value —
string
<attributevalue> — GameAttributePlayerValue - Players On Team —
playergroup
— GameAttributePlayersForTeam - Turn Fixed Random Seed On/Off —
void
— GameSetSeedLocked - Random Seed Is Locked —
bool
— GameIsSeedLocked - Set Random Seed —
void
— GameSetSeed - Create Saved Game —
void
— GameSaveCreate - Set Game Pausing Allowed —
void
— GameSetPauseable - Set Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemaining - Pause Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemainingPaused - Tradeshow Game Time Remaining —
fixed
— GameGetAbsoluteTimeRemaining - Tradeshow Game Time Remaining Is Paused —
bool
— GameGetAbsoluteTimeRemainingPaused - Map Name —
text
— GameMapName - Map Path —
string
— GameMapPath - Map Description —
text
— GameMapDescription - Map Is Blizzard —
bool
— GameMapIsBlizzard - Map Texture Set —
string
<gamelink::Terrain> — GameTerrainSet - Game Is Test —
bool
— GameIsTestMap - Game Is Examinable —
bool
— GameIsExaminable - Game Get Test Config Type —
int
— GameTestConfigType - Game Is Online —
bool
— GameIsOnline - Game Is Debug Option Set —
bool
— GameIsDebugOptionSet - Game Is Matchmade —
bool
— GameIsMatchmade - Game Is Competitive —
bool
— GameIsCompetitive - Game Is Practice —
bool
— GameIsPractice - Game Is Cooperative —
bool
— GameIsCooperative - Game Allows Duplicate Heroes —
bool
— GameAreHeroDuplicatesAllowed
# Examples
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6627
// Implementation
if ((GameTestConfigType() != 1)) {
return ;
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:673
libGame_gv_pickingHeroesCallback = gt_InitPlayers;
TriggerExecute(libCore_gt_InitializeStormMod, true, false);
if ((GameTestConfigType() == 3)) {
libGame_gf_PickingHeroesForPlayers();
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:5712
}
if ((GameIsTestMap(true) == true) && (GameTestConfigType() == 3)) {
Wait(10.0, c_timeGame);
ConsoleCommand("exit", true, true);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap/MapScript.galaxy:3410
}
if ((GameIsTestMap(true) == true) && (GameTestConfigType() == 3)) {
Wait(10.0, c_timeGame);
ConsoleCommand("exit", true, true);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:10152
}
if ((GameIsTestMap(true) == true) && (GameTestConfigType() == 3)) {
Wait(10.0, c_timeGame);
ConsoleCommand("exit", true, true);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:673
libGame_gv_pickingHeroesCallback = gt_InitPlayers;
TriggerExecute(libCore_gt_InitializeStormMod, true, false);
if ((GameTestConfigType() == 3)) {
libGame_gf_PickingHeroesForPlayers();
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:5712
}
if ((GameIsTestMap(true) == true) && (GameTestConfigType() == 3)) {
Wait(10.0, c_timeGame);
ConsoleCommand("exit", true, true);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap — MapScript.galaxy:3410
}
if ((GameIsTestMap(true) == true) && (GameTestConfigType() == 3)) {
Wait(10.0, c_timeGame);
ConsoleCommand("exit", true, true);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:10152
}
if ((GameIsTestMap(true) == true) && (GameTestConfigType() == 3)) {
Wait(10.0, c_timeGame);
ConsoleCommand("exit", true, true);
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:118
TriggerExecute(libCore_gt_InitializeMiscStuff, true, false);
if (((GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return ;
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:118
TriggerExecute(libCore_gt_InitializeMiscStuff, true, false);
if (((GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return ;
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:118
TriggerExecute(libCore_gt_InitializeMiscStuff, true, false);
if (((GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return ;
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:118
TriggerExecute(libCore_gt_InitializeMiscStuff, true, false);
if (((GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return ;
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:122
}
if ((GameTestConfigType() == 10)) {
TriggerExecute(libSprt_gt_AutomatedBuildTest, true, false);
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:411
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
lv_initCallback = libAREN_gv_aRM_MechanicData[libAREN_gv_aRM_MechanicsPicked[libAREN_gv_aRM_CurrentRoundIndex]].lv_initCallback;
if ((lv_initCallback != null)) {
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:411
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
lv_initCallback = libAREN_gv_aRM_MechanicData[libAREN_gv_aRM_MechanicsPicked[libAREN_gv_aRM_CurrentRoundIndex]].lv_initCallback;
if ((lv_initCallback != null)) {
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:411
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
lv_initCallback = libAREN_gv_aRM_MechanicData[libAREN_gv_aRM_MechanicsPicked[libAREN_gv_aRM_CurrentRoundIndex]].lv_initCallback;
if ((lv_initCallback != null)) {
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:411
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
lv_initCallback = libAREN_gv_aRM_MechanicData[libAREN_gv_aRM_MechanicsPicked[libAREN_gv_aRM_CurrentRoundIndex]].lv_initCallback;
if ((lv_initCallback != null)) {
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:529
libGame_gv_players[lv_itPlayer].lv_suppressLevelUpFXAndTeamXPTracking = true;
}
if (((GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
TriggerExecute(libSprt_gt_PerformanceTestSpawnHeroesForHeroesPerformanceTestMap, true, false);
}
mods/heroesbrawlmods/arenamodemods/attackdefend.stormmod — base.stormdata/LibAtDe.galaxy:110
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
if ((lv_initCallback != null)) {
TriggerExecute(lv_initCallback, true, false);
mods/heroesbrawlmods/arenamodemods/attackdefend.stormmod — base.stormdata/LibAtDe.galaxy:110
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
if ((lv_initCallback != null)) {
TriggerExecute(lv_initCallback, true, false);
mods/heroesbrawlmods/arenamodemods/attackdefend.stormmod — base.stormdata/LibAtDe.galaxy:110
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
if ((lv_initCallback != null)) {
TriggerExecute(lv_initCallback, true, false);
mods/heroesbrawlmods/arenamodemods/attackdefend.stormmod — base.stormdata/LibAtDe.galaxy:110
TriggerEnable(libMapM_gt_MMRepulseRegionPunchBehavior, true);
TriggerEnable(libMapM_gt_MMSafeRegionBehavior, true);
if ((GameTestConfigType() != 1) && (GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
if ((lv_initCallback != null)) {
TriggerExecute(lv_initCallback, true, false);
mods/heroesbrawlmods/arenamodemods/attackdefend.stormmod — base.stormdata/LibAtDe.galaxy:198
libGame_gv_players[lv_itPlayer].lv_suppressLevelUpFXAndTeamXPTracking = true;
}
if (((GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
TriggerExecute(libSprt_gt_PerformanceTestSpawnHeroesForHeroesPerformanceTestMap, true, false);
}
mods/heroesbrawlmods/arenamodemods/attackdefend.stormmod — base.stormdata/LibAtDe.galaxy:198
libGame_gv_players[lv_itPlayer].lv_suppressLevelUpFXAndTeamXPTracking = true;
}
if (((GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
TriggerExecute(libSprt_gt_PerformanceTestSpawnHeroesForHeroesPerformanceTestMap, true, false);
}
mods/heroesbrawlmods/arenamodemods/attackdefend.stormmod — base.stormdata/LibAtDe.galaxy:198
libGame_gv_players[lv_itPlayer].lv_suppressLevelUpFXAndTeamXPTracking = true;
}
if (((GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
TriggerExecute(libSprt_gt_PerformanceTestSpawnHeroesForHeroesPerformanceTestMap, true, false);
}
mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod — base.stormdata/LibIGHS.galaxy:1569
}
if (((GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "drft") || (GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "tour") || (GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return true;
}
mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod — base.stormdata/LibIGHS.galaxy:1569
}
if (((GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "drft") || (GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "tour") || (GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return true;
}
mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod — base.stormdata/LibIGHS.galaxy:1569
}
if (((GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "drft") || (GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "tour") || (GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return true;
}
mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod — base.stormdata/LibIGHS.galaxy:1569
}
if (((GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "drft") || (GameAttributeGameValue("[bnet:Core (Mod)/0.0/999,file:Mods/Core.StormMod]4010") == "tour") || (GameTestConfigType() == 1) || (GameTestConfigType() == 2) || (GameTestConfigType() == 3) || (GameTestConfigType() == 4))) {
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4826
TriggerExecute(libCore_gt_InitializeMiscStuff, true, false);
if ((GameTestConfigType() == 1)) {
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4830
}
if ((GameTestConfigType() == 2)) {
TriggerExecute(libSprt_gt_PerformanceTestSpawnHeroesForHeroesPerformanceTestMap, true, false);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4834
}
if ((GameTestConfigType() == 10)) {
TriggerExecute(libSprt_gt_AutomatedBuildTest, true, false);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4838
}
if ((GameTestConfigType() == 11)) {
TriggerExecute(libSprt_gt_AISpawningTest, true, false);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4860
libAIAI_gf_HeroAIGeneralPreInit();
if ((GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
libGame_gf_PickingHeroesForPlayers();
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4860
libAIAI_gf_HeroAIGeneralPreInit();
if ((GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
libGame_gf_PickingHeroesForPlayers();
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4860
libAIAI_gf_HeroAIGeneralPreInit();
if ((GameTestConfigType() != 2) && (GameTestConfigType() != 3) && (GameTestConfigType() != 4)) {
libGame_gf_PickingHeroesForPlayers();
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:2198
// Automatic Variable Declarations
// Implementation
if ((GameTestConfigType() == 1)) {
return ;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:1938
// Automatic Variable Declarations
// Implementation
if (((libStEx_gv_automation_Debug == true) || ((GameIsTestMap(true) == true) && ((GameTestConfigType() == 5) || (GameTestConfigType() == 6) || (GameTestConfigType() == 7))))) {
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:1938
// Automatic Variable Declarations
// Implementation
if (((libStEx_gv_automation_Debug == true) || ((GameIsTestMap(true) == true) && ((GameTestConfigType() == 5) || (GameTestConfigType() == 6) || (GameTestConfigType() == 7))))) {
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:1938
// Automatic Variable Declarations
// Implementation
if (((libStEx_gv_automation_Debug == true) || ((GameIsTestMap(true) == true) && ((GameTestConfigType() == 5) || (GameTestConfigType() == 6) || (GameTestConfigType() == 7))))) {
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:2016
if (((libStEx_gv_tutorialHero == null) || (libStEx_gv_tutorialHero == libCore_gv_heroes_RandomHeroID))) {
if (((libStEx_gv_automation_Debug == true) || (GameIsTestMap(true) == true))) {
auto8B88B8A9_val = GameTestConfigType();
if (auto8B88B8A9_val == 5) {
libStEx_gv_tutorialHero = "Muradin";
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:2011
}
TextExpressionSetToken("Param/Expression/lib_Sprt_DC9BF57F", "A", IntToText(GameTestConfigType()));
TriggerDebugOutput(5, TextExpressionAssemble("Param/Expression/lib_Sprt_DC9BF57F"), true);
TriggerEnable(libSprt_gt_PerformanceTestGetFPS, true);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibCMMI.galaxy:43
// Implementation
if ((GameTestConfigType() != 1)) {
return ;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2299
// Implementation
if ((GameTestConfigType() != 1)) {
return ;
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5914
// Implementation
if ((GameTestConfigType() != 1)) {
return ;
}