# Map Is Blizzard
Grammar — Map is Blizzard
Flags —Native
|Function
|Restricted
Returns true if the map currently being played is an official Blizzard map.
Returns — bool
native bool GameMapIsBlizzard();
# 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
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1945
lv_uIFrame = c_syncFrameTypeFirst;
for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {
if (((GameMapIsBlizzard() == true) || (lv_uIFrame != c_syncFrameTypeBattleUI)) && (libNtve_gv__GameUIFrameFiltered[(lv_uIFrame)] == false)) {
UISetFrameVisible(lp_players, lv_uIFrame, false);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4981
lv_indexFrame = c_syncFrameTypeFirst;
for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {
if (((GameMapIsBlizzard() == true) || (lv_indexFrame != c_syncFrameTypeBattleUI)) && (libNtve_gv__GameUIFrameFiltered[(lv_indexFrame)] == false)) {
if ((lp_storeRestore == true)) {
if ((UIFrameVisible(lv_player, lv_indexFrame) == true)) {
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:5039
lv_uIFrame = c_syncFrameTypeFirst;
for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {
if (((GameMapIsBlizzard() == true) || (lv_uIFrame != c_syncFrameTypeBattleUI)) && (libNtve_gv__GameUIFrameFiltered[(lv_uIFrame)] == false)) {
UISetFrameVisible(lp_players, lv_uIFrame, false);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1635
lv_uIFrame = c_syncFrameTypeFirst;
for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {
if (((GameMapIsBlizzard() == true) || (lv_uIFrame != c_syncFrameTypeBattleUI)) && (libNtve_gv__GameUIFrameFiltered[(lv_uIFrame)] == false)) {
UISetFrameVisible(lp_players, lv_uIFrame, false);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4226
lv_indexFrame = c_syncFrameTypeFirst;
for ( ; lv_indexFrame <= c_syncFrameTypeLast ; lv_indexFrame += 1 ) {
if (((GameMapIsBlizzard() == true) || (lv_indexFrame != c_syncFrameTypeBattleUI)) && (libNtve_gv__GameUIFrameFiltered[(lv_indexFrame)] == false)) {
if ((lp_storeRestore == true)) {
if ((UIFrameVisible(lv_player, lv_indexFrame) == true)) {
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4284
lv_uIFrame = c_syncFrameTypeFirst;
for ( ; lv_uIFrame <= c_syncFrameTypeLast ; lv_uIFrame += 1 ) {
if (((GameMapIsBlizzard() == true) || (lv_uIFrame != c_syncFrameTypeBattleUI)) && (libNtve_gv__GameUIFrameFiltered[(lv_uIFrame)] == false)) {
UISetFrameVisible(lp_players, lv_uIFrame, false);
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:951
}
if ((GameMapIsBlizzard() == false)) {
TriggerEnable(TriggerGetCurrent(), false);
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1952
// Automatic Variable Declarations
// Implementation
if ((libCOOC_gv_cC_DevStart_Forced == false) && (GameMapIsBlizzard() == false) && (lp_commander != "TerranRaynor") && (lp_commander != "ZergKerrigan") && (lp_commander != "ProtossArtanis")) {
libCOOC_gf_CC_PlayerCommanderSet(lp_player, "TerranRaynor");
return ;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4299
// Automatic Variable Declarations
// Implementation
if ((GameIsOnline() == false) && (GameIsTestMap(false) == true) && (GameCheatsEnabled(c_gameCheatCategoryDevelopment) == false) && (GameMapIsBlizzard() == false)) {
libCOOC_gv_cC_InContestMap = true;
return true;