# Attribute Game Value

Grammarattribute game value
FlagsNative | Function

Returns a game-level attribute value which was configured in the lobby before starting the game.

# Arguments

  • string<attributegame> — Attribute

Returns — string<attributevalue>

native string GameAttributeGameValue(string name);

Category: Game / Game Settings

# Examples

mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmodbase.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.stormmodbase.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;
    }