# Game Is Matchmade

Grammar — Game started from matchmaker
FlagsNative | Function

Returns true if the game was started from queueing in the matchmaker on Battle.net.

Returns — bool

native bool GameIsMatchmade();

Category: Game / Game Settings

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:474


    // Implementation
    if ((libGame_gv_afk_DebugOn == false) && (GameIsMatchmade() == false)) {
        libGame_gv_afk_AfkDetectionSystemSkipped = true;
        return true;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:621


    // Implementation
    if ((libGame_gv_afk_DebugOn == false) && (GameIsMatchmade() == false)) {
        return true;
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:2201


    // Implementation
    if (((libCore_gv_sYSGameMode == libCore_ge_GameModes_ArenaMode) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_AttackDefend) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_Debug) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_TryMe) || (libGame_gv_endofMatchAwardsDisabled == true) || ((GameIsMatchmade() == false) && (libCore_gv_dEBUGDebuggingEnabled == false) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_Tutorial1) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_TutorialMapMechanics)))) {
        return ;
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:19200

    }

    if (((libCore_gv_sYSGameMode == libCore_ge_GameModes_ArenaMode) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_AttackDefend) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_Debug) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_TryMe) || (libGame_gv_endofMatchAwardsDisabled == true) || ((GameIsMatchmade() == false) && (libCore_gv_dEBUGDebuggingEnabled == false) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_Tutorial1) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_TutorialMapMechanics)))) {
        return true;
    }