# Show/Hide Terrain
Grammar — add|Show/Hide terrain cells in area
Flags —Native
|Action
Show or hide a region of terrain. Useful for areas of terrain that are entirely covered by a doodad.
# Arguments
region
— Areabool
<preset::ShowHideOption> — Show
Returns — void
native void TerrainShowRegion(region inArea, bool inShow);
# Related
Category: Environment / Terrain And Water
- Show/Hide Environment —
void
— EnvironmentShow - Height At Point —
fixed
— WorldHeight - Terrain Texture At Point —
string
<gamelink::TerrainTex> — TerrainTexture - Cliff Level Of Point (Integer) —
int
— CliffLevel - Cliff Level Of Point (Real) —
fixed
— PointPathingCliffLevel - Line Crosses Cliff —
bool
— CrossCliff - Terrain Has Custom Attribute —
bool
— HasCustomCellAttribute - Show/Hide Terrain —
void
— TerrainShowRegion - Set Water State —
void
— WaterSetState - Pause/Unpause Water Transition —
void
— WaterPause
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1324
ActorSend(gv_planetCrackerHoleAlpha, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleAlpha, "Signal Purified");
TerrainShowRegion(RegionFromId(38), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", c_unitCreateIgnorePlacement, 0, PointFromId(877));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1434
ActorSend(gv_planetCrackerHoleBeta, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleBeta, "Signal Purified");
TerrainShowRegion(RegionFromId(39), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", c_unitCreateIgnorePlacement, 0, PointFromId(613));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1548
ActorSend(gv_planetCrackerHoleGamma, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleGamma, "Signal Purified");
TerrainShowRegion(RegionFromId(40), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", 0, 0, PointFromId(1713));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1662
ActorSend(gv_planetCrackerHoleOmega, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleOmega, "Signal Purified");
TerrainShowRegion(RegionFromId(41), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", 0, 0, PointFromId(1258));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1753
ActorSend(gv_planetCrackerHolePlayerBase, "SetVisibility 1");
ActorSend(gv_planetCrackerHolePlayerBase, "Signal Purified");
TerrainShowRegion(RegionFromId(42), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", 0, 0, PointFromId(1992));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6537
gv_victoryHiddenUnitGroup = UnitGroup(null, gv_pLAYER01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(10), "TerrainObjectPurifierBlastMarkDoodad", c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);
TerrainShowRegion(RegionFromId(42), true);
auto021E1FC0_g = gv_victoryHiddenUnitGroup;
auto021E1FC0_u = UnitGroupCount(auto021E1FC0_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:418
CreepModify(RegionGetCenter(RegionFromId(18)), 2.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(18), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:425
CreepModify(RegionGetCenter(RegionFromId(19)), 3.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(19), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:432
CreepModify(RegionGetCenter(RegionFromId(17)), 4.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(17), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:439
CreepModify(RegionGetCenter(RegionFromId(20)), 8.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(20), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:1324
ActorSend(gv_planetCrackerHoleAlpha, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleAlpha, "Signal Purified");
TerrainShowRegion(RegionFromId(38), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", c_unitCreateIgnorePlacement, 0, PointFromId(877));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:1434
ActorSend(gv_planetCrackerHoleBeta, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleBeta, "Signal Purified");
TerrainShowRegion(RegionFromId(39), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", c_unitCreateIgnorePlacement, 0, PointFromId(613));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:1548
ActorSend(gv_planetCrackerHoleGamma, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleGamma, "Signal Purified");
TerrainShowRegion(RegionFromId(40), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", 0, 0, PointFromId(1713));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:1662
ActorSend(gv_planetCrackerHoleOmega, "SetVisibility 1");
ActorSend(gv_planetCrackerHoleOmega, "Signal Purified");
TerrainShowRegion(RegionFromId(41), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", 0, 0, PointFromId(1258));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:1753
ActorSend(gv_planetCrackerHolePlayerBase, "SetVisibility 1");
ActorSend(gv_planetCrackerHolePlayerBase, "Signal Purified");
TerrainShowRegion(RegionFromId(42), false);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Blocker6x6", 0, 0, PointFromId(1992));
Wait(10.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6537
gv_victoryHiddenUnitGroup = UnitGroup(null, gv_pLAYER01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(10), "TerrainObjectPurifierBlastMarkDoodad", c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);
TerrainShowRegion(RegionFromId(42), true);
auto021E1FC0_g = gv_victoryHiddenUnitGroup;
auto021E1FC0_u = UnitGroupCount(auto021E1FC0_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:418
CreepModify(RegionGetCenter(RegionFromId(18)), 2.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(18), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:425
CreepModify(RegionGetCenter(RegionFromId(19)), 3.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(19), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:432
CreepModify(RegionGetCenter(RegionFromId(17)), 4.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(17), false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:439
CreepModify(RegionGetCenter(RegionFromId(20)), 8.0, false, false);
UnitKill(autoD59259D7_var);
TerrainShowRegion(RegionFromId(20), false);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:5145
libNtve_gf_ShowHideUnit(UnitFromId(560), true);
UnitKill(UnitFromId(560));
TerrainShowRegion(RegionFromId(54), false);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(78), "ProtossEnergyGust", c_animNameDefault, "Death", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
TriggerEnable(gt_EscapedWarpDriveTransition, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9044
libNtve_gf_ShowHideUnit(UnitFromId(559), true);
UnitKill(UnitFromId(559));
TerrainShowRegion(RegionFromId(46), false);
Wait(1.0, c_timeReal);
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Protoss, PointFromId(507));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9049
libNtve_gf_ShowHideUnit(UnitFromId(558), true);
UnitKill(UnitFromId(558));
TerrainShowRegion(RegionFromId(44), false);
Wait(1.0, c_timeReal);
CameraShake(gv_pLAYER_01_USER, "Heavy", "Earthquake", 0.5, 0.5, 3.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9055
libNtve_gf_ShowHideUnit(UnitFromId(555), true);
UnitKill(UnitFromId(555));
TerrainShowRegion(RegionFromId(43), false);
Wait(1.0, c_timeReal);
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Protoss, PointFromId(509));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9060
libNtve_gf_ShowHideUnit(UnitFromId(554), true);
UnitKill(UnitFromId(554));
TerrainShowRegion(RegionFromId(42), false);
Wait(2.0, c_timeReal);
TriggerStop(gt_MidEngineExplosions);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9193
libNtve_gf_ShowHideUnit(UnitFromId(559), true);
UnitKill(UnitFromId(559));
TerrainShowRegion(RegionFromId(46), false);
libNtve_gf_ShowHideUnit(UnitFromId(558), true);
UnitKill(UnitFromId(558));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9196
libNtve_gf_ShowHideUnit(UnitFromId(558), true);
UnitKill(UnitFromId(558));
TerrainShowRegion(RegionFromId(44), false);
libNtve_gf_ShowHideUnit(UnitFromId(555), true);
UnitKill(UnitFromId(555));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9199
libNtve_gf_ShowHideUnit(UnitFromId(555), true);
UnitKill(UnitFromId(555));
TerrainShowRegion(RegionFromId(43), false);
libNtve_gf_ShowHideUnit(UnitFromId(554), true);
UnitKill(UnitFromId(554));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9202
libNtve_gf_ShowHideUnit(UnitFromId(554), true);
UnitKill(UnitFromId(554));
TerrainShowRegion(RegionFromId(42), false);
autoE2822856_g = UnitGroup(null, c_playerAny, RegionFromId(118), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE2822856_u = UnitGroupCount(autoE2822856_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1323
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionEntireMap(), "UmojanLabTramBackground", c_animNameDefault, "Dead", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
ActorSend(ActorFromDoodad(DoodadFromId(532)), "SetOpacity");
TerrainShowRegion(RegionFromId(22), false);
ActorRegionCreate(null, "TriggerRegion", RegionFromId(130));
gv_hiddenDoodadRegion = libNtve_gf_ActorLastCreated();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:3907
}
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(16), "Decal");
TerrainShowRegion(RegionFromId(16), false);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:4114
}
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(20), "Decal");
TerrainShowRegion(RegionFromId(20), false);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:8549
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Terran, RegionGetCenter(RegionFromId(81)));
CameraShakeStart(gv_pLAYER_01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.3, 2.0, 100.0, 1.5);
TerrainShowRegion(RegionFromId(81), false);
auto7D0F7606_g = UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(81), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto7D0F7606_u = UnitGroupCount(auto7D0F7606_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11746
libNtve_gf_PauseUnit(autoA26FD2A9_var, true);
}
TerrainShowRegion(RegionFromId(32), false);
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11747
}
TerrainShowRegion(RegionFromId(32), false);
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11748
TerrainShowRegion(RegionFromId(32), false);
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11749
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
TerrainShowRegion(RegionFromId(51), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11750
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
TerrainShowRegion(RegionFromId(51), false);
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(32), "Decal");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11751
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
TerrainShowRegion(RegionFromId(51), false);
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(32), "Decal");
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(31), "Decal");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:1511
GameTimeOfDaySet("08:00:00");
TerrainShowRegion(RegionEntireMap(), false);
GameSetBackground(c_backgroundFixed, "SkyBoxPortZionSpace", 100.0);
GameSetBackground(c_backgroundTerrain, "SkyBoxPortZionSpaceParallax", 100.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:5410
Wait(4.0, c_timeGame);
UnitKill(UnitFromId(1381));
TerrainShowRegion(RegionFromId(65), false);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:5727
Wait(2.5, c_timeGame);
UnitKill(UnitFromId(1051));
TerrainShowRegion(RegionFromId(66), false);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/1A232AA4"));
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:6366
Wait(1.5, c_timeGame);
UnitKill(UnitFromId(1382));
TerrainShowRegion(RegionFromId(67), false);
Wait(1.5, c_timeGame);
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Terran, PointFromId(1378));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:874
Wait(0.0625, c_timeGame);
RegionSetCenter(RegionFromId(1), UnitGetPosition(autoF38B2E9D_var));
TerrainShowRegion(RegionFromId(1), false);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:3494
ActorSend(libHots_gf_ActorForUnit(auto172FEDDE_var, 1), "Signal Work");
RegionSetCenter(RegionFromId(1), UnitGetPosition(auto172FEDDE_var));
TerrainShowRegion(RegionFromId(1), false);
}
WaterSetState("VespeneLavaWater|[Default]", 0.0, c_wtcLinear);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:5145
libNtve_gf_ShowHideUnit(UnitFromId(560), true);
UnitKill(UnitFromId(560));
TerrainShowRegion(RegionFromId(54), false);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(78), "ProtossEnergyGust", c_animNameDefault, "Death", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
TriggerEnable(gt_EscapedWarpDriveTransition, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9044
libNtve_gf_ShowHideUnit(UnitFromId(559), true);
UnitKill(UnitFromId(559));
TerrainShowRegion(RegionFromId(46), false);
Wait(1.0, c_timeReal);
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Protoss, PointFromId(507));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9049
libNtve_gf_ShowHideUnit(UnitFromId(558), true);
UnitKill(UnitFromId(558));
TerrainShowRegion(RegionFromId(44), false);
Wait(1.0, c_timeReal);
CameraShake(gv_pLAYER_01_USER, "Heavy", "Earthquake", 0.5, 0.5, 3.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9055
libNtve_gf_ShowHideUnit(UnitFromId(555), true);
UnitKill(UnitFromId(555));
TerrainShowRegion(RegionFromId(43), false);
Wait(1.0, c_timeReal);
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Protoss, PointFromId(509));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9060
libNtve_gf_ShowHideUnit(UnitFromId(554), true);
UnitKill(UnitFromId(554));
TerrainShowRegion(RegionFromId(42), false);
Wait(2.0, c_timeReal);
TriggerStop(gt_MidEngineExplosions);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9193
libNtve_gf_ShowHideUnit(UnitFromId(559), true);
UnitKill(UnitFromId(559));
TerrainShowRegion(RegionFromId(46), false);
libNtve_gf_ShowHideUnit(UnitFromId(558), true);
UnitKill(UnitFromId(558));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9196
libNtve_gf_ShowHideUnit(UnitFromId(558), true);
UnitKill(UnitFromId(558));
TerrainShowRegion(RegionFromId(44), false);
libNtve_gf_ShowHideUnit(UnitFromId(555), true);
UnitKill(UnitFromId(555));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9199
libNtve_gf_ShowHideUnit(UnitFromId(555), true);
UnitKill(UnitFromId(555));
TerrainShowRegion(RegionFromId(43), false);
libNtve_gf_ShowHideUnit(UnitFromId(554), true);
UnitKill(UnitFromId(554));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:9202
libNtve_gf_ShowHideUnit(UnitFromId(554), true);
UnitKill(UnitFromId(554));
TerrainShowRegion(RegionFromId(42), false);
autoE2822856_g = UnitGroup(null, c_playerAny, RegionFromId(118), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE2822856_u = UnitGroupCount(autoE2822856_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1323
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionEntireMap(), "UmojanLabTramBackground", c_animNameDefault, "Dead", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
ActorSend(ActorFromDoodad(DoodadFromId(532)), "SetOpacity");
TerrainShowRegion(RegionFromId(22), false);
ActorRegionCreate(null, "TriggerRegion", RegionFromId(130));
gv_hiddenDoodadRegion = libNtve_gf_ActorLastCreated();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:3907
}
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(16), "Decal");
TerrainShowRegion(RegionFromId(16), false);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:4114
}
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(20), "Decal");
TerrainShowRegion(RegionFromId(20), false);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:8549
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Terran, RegionGetCenter(RegionFromId(81)));
CameraShakeStart(gv_pLAYER_01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.3, 2.0, 100.0, 1.5);
TerrainShowRegion(RegionFromId(81), false);
auto7D0F7606_g = UnitGroup(null, gv_pLAYER_02_DOMINION, RegionFromId(81), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto7D0F7606_u = UnitGroupCount(auto7D0F7606_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11746
libNtve_gf_PauseUnit(autoA26FD2A9_var, true);
}
TerrainShowRegion(RegionFromId(32), false);
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11747
}
TerrainShowRegion(RegionFromId(32), false);
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11748
TerrainShowRegion(RegionFromId(32), false);
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11749
TerrainShowRegion(RegionFromId(31), false);
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
TerrainShowRegion(RegionFromId(51), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11750
TerrainShowRegion(RegionFromId(30), false);
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
TerrainShowRegion(RegionFromId(51), false);
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(32), "Decal");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11751
TerrainShowRegion(RegionFromId(43), false);
TerrainShowRegion(RegionFromId(49), false);
TerrainShowRegion(RegionFromId(51), false);
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(32), "Decal");
libNtve_gf_RemoveDoodadsinRegion(RegionFromId(31), "Decal");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:1511
GameTimeOfDaySet("08:00:00");
TerrainShowRegion(RegionEntireMap(), false);
GameSetBackground(c_backgroundFixed, "SkyBoxPortZionSpace", 100.0);
GameSetBackground(c_backgroundTerrain, "SkyBoxPortZionSpaceParallax", 100.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:5410
Wait(4.0, c_timeGame);
UnitKill(UnitFromId(1381));
TerrainShowRegion(RegionFromId(65), false);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:5727
Wait(2.5, c_timeGame);
UnitKill(UnitFromId(1051));
TerrainShowRegion(RegionFromId(66), false);
libSwaC_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/1A232AA4"));
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:6366
Wait(1.5, c_timeGame);
UnitKill(UnitFromId(1382));
TerrainShowRegion(RegionFromId(67), false);
Wait(1.5, c_timeGame);
libNtve_gf_CreateExplosionAtPoint(libNtve_ge_ExplosionSize_Large, libNtve_ge_ExplosionType_Terran, PointFromId(1378));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map — MapScript.galaxy:874
Wait(0.0625, c_timeGame);
RegionSetCenter(RegionFromId(1), UnitGetPosition(autoF38B2E9D_var));
TerrainShowRegion(RegionFromId(1), false);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map — MapScript.galaxy:3494
ActorSend(libHots_gf_ActorForUnit(auto172FEDDE_var, 1), "Signal Work");
RegionSetCenter(RegionFromId(1), UnitGetPosition(auto172FEDDE_var));
TerrainShowRegion(RegionFromId(1), false);
}
WaterSetState("VespeneLavaWater|[Default]", 0.0, c_wtcLinear);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1238
gv_voidShards[4] = UnitFromId(40);
gv_voidShards[5] = UnitFromId(26);
TerrainShowRegion(RegionFromId(28), false);
TerrainShowRegion(RegionFromId(37), false);
TerrainShowRegion(RegionFromId(38), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1239
gv_voidShards[5] = UnitFromId(26);
TerrainShowRegion(RegionFromId(28), false);
TerrainShowRegion(RegionFromId(37), false);
TerrainShowRegion(RegionFromId(38), false);
TerrainShowRegion(RegionFromId(39), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1240
TerrainShowRegion(RegionFromId(28), false);
TerrainShowRegion(RegionFromId(37), false);
TerrainShowRegion(RegionFromId(38), false);
TerrainShowRegion(RegionFromId(39), false);
TerrainShowRegion(RegionFromId(40), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1241
TerrainShowRegion(RegionFromId(37), false);
TerrainShowRegion(RegionFromId(38), false);
TerrainShowRegion(RegionFromId(39), false);
TerrainShowRegion(RegionFromId(40), false);
auto6C3012C6_g = UnitGroup("VoidShard", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1242
TerrainShowRegion(RegionFromId(38), false);
TerrainShowRegion(RegionFromId(39), false);
TerrainShowRegion(RegionFromId(40), false);
auto6C3012C6_g = UnitGroup("VoidShard", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto6C3012C6_u = UnitGroupCount(auto6C3012C6_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1799
auto45400C5A_val = EventUnit();
if (auto45400C5A_val == gv_voidShards[1]) {
TerrainShowRegion(RegionFromId(28), true);
AIAttackWaveSetGatherPoint(gv_pLAYER_06_VOIDFORCES, PointFromId(1255));
cai_setDefGather(gv_pLAYER_06_VOIDFORCES, PointFromId(1255));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1804
}
else if (auto45400C5A_val == gv_voidShards[2]) {
TerrainShowRegion(RegionFromId(37), true);
AIAttackWaveSetGatherPoint(gv_pLAYER_07_VOIDFORCES, PointFromId(1254));
cai_setDefGather(gv_pLAYER_07_VOIDFORCES, PointFromId(1254));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1809
}
else if (auto45400C5A_val == gv_voidShards[3]) {
TerrainShowRegion(RegionFromId(38), true);
AIAttackWaveSetGatherPoint(gv_pLAYER_07_VOIDFORCES, PointFromId(1253));
cai_setDefGather(gv_pLAYER_07_VOIDFORCES, PointFromId(1253));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1814
}
else if (auto45400C5A_val == gv_voidShards[4]) {
TerrainShowRegion(RegionFromId(39), true);
AIAttackWaveSetGatherPoint(gv_pLAYER_06_VOIDFORCES, PointFromId(1252));
cai_setDefGather(gv_pLAYER_06_VOIDFORCES, PointFromId(1252));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:1819
}
else if (auto45400C5A_val == gv_voidShards[5]) {
TerrainShowRegion(RegionFromId(40), true);
}
else {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:1710
libNtve_gf_ShowHideUnit(autoD1B02068_var, false);
}
TerrainShowRegion(RegionFromId(89), false);
auto68F001BD_g = UnitGroup("Bunker", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto68F001BD_u = UnitGroupCount(auto68F001BD_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3452
UnitKill(auto4444D119_var);
}
TerrainShowRegion(RegionFromId(33), false);
UnitKill(UnitLastCreated());
CameraShake(gv_pLAYER_01_USER, "Light", "Earthquake", 0.5, 0.5, 2.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4951
UnitKill(UnitLastCreated());
RegionSetCenter(RegionFromId(33), UnitGetPosition(UnitLastCreated()));
TerrainShowRegion(RegionFromId(33), false);
CameraShake(gv_pLAYER_01_USER, "Light", "Earthquake", 0.5, 0.5, 2.0);
SoundPlayForPlayer(SoundLink("Kor1_AmbientQuake", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5196
UnitKill(UnitLastCreated());
RegionSetCenter(RegionFromId(33), UnitGetPosition(UnitLastCreated()));
TerrainShowRegion(RegionFromId(33), false);
CameraShake(gv_pLAYER_01_USER, "Light", "Earthquake", 0.5, 0.5, 2.0);
SoundPlayForPlayer(SoundLink("Kor1_AmbientQuake", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5205
UnitKill(UnitLastCreated());
RegionSetCenter(RegionFromId(33), UnitGetPosition(UnitLastCreated()));
TerrainShowRegion(RegionFromId(33), false);
CameraShake(gv_pLAYER_01_USER, "Light", "Earthquake", 0.5, 0.5, 2.0);
SoundPlayForPlayer(SoundLink("Kor1_AmbientQuake", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5259
UnitKill(UnitLastCreated());
RegionSetCenter(RegionFromId(80), UnitGetPosition(UnitLastCreated()));
TerrainShowRegion(RegionFromId(80), false);
UnitKill(UnitFromId(872));
UnitKill(UnitFromId(952));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5285
UnitKill(UnitLastCreated());
RegionSetCenter(RegionFromId(33), UnitGetPosition(UnitLastCreated()));
TerrainShowRegion(RegionFromId(33), false);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5322
UnitKill(UnitLastCreated());
RegionSetCenter(RegionFromId(80), UnitGetPosition(UnitLastCreated()));
TerrainShowRegion(RegionFromId(80), false);
}
else {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5328
UnitKill(UnitLastCreated());
RegionSetCenter(RegionFromId(33), UnitGetPosition(UnitLastCreated()));
TerrainShowRegion(RegionFromId(33), false);
}
Wait(0.0625, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:6400
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(117), "Purifier_StasisPods_Chamber");
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(117), "Purifier_StasisPods");
TerrainShowRegion(RegionFromId(117), false);
TriggerEnable(gt_AssignPurifierUnitstoCinematicTemp, true);
TriggerEnable(gt_IssueWalkoutOrdertoPurifiers, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:6551
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods_Chamber");
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods");
TerrainShowRegion(RegionFromId(117), true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
TriggerExecute(gt_MidSpawnPurifiersInstantlyNew, true, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:982
lv_voidThrasherPoint = UnitGetPosition(lp_voidThrasher);
RegionSetCenter(RegionFromId(35), lv_voidThrasherPoint);
TerrainShowRegion(gv_voidThrasherTerrainHideRegion, false);
lv_terrainHidden = true;
while ((UnitIsAlive(lp_voidThrasher) == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:988
if ((lv_terrainHidden == true)) {
RegionSetCenter(RegionFromId(35), lv_voidThrasherPoint);
TerrainShowRegion(gv_voidThrasherTerrainHideRegion, true);
lv_terrainHidden = false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:996
if ((lv_terrainHidden == false)) {
RegionSetCenter(RegionFromId(35), lv_voidThrasherPoint);
TerrainShowRegion(gv_voidThrasherTerrainHideRegion, false);
lv_terrainHidden = true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:1004
}
RegionSetCenter(RegionFromId(35), lv_voidThrasherPoint);
TerrainShowRegion(gv_voidThrasherTerrainHideRegion, true);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:2538
}
gf_KillStairs(ActorFromDoodad(DoodadFromId(684)));
TerrainShowRegion(RegionFromId(18), false);
CameraShake(gv_pLAYER_01_USER, "Heavy", "Earthquake", 0.0, 0.5, 2.0);
SoundPlayForPlayer(SoundLink("PShakuras02_BigHit", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:2607
}
gf_KillStairs(ActorFromDoodad(DoodadFromId(471)));
TerrainShowRegion(RegionFromId(19), false);
CameraShake(gv_pLAYER_01_USER, "Heavy", "Earthquake", 0.0, 0.5, 2.0);
SoundPlayForPlayer(SoundLink("PShakuras02_BigHit", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:2676
}
gf_KillStairs(ActorFromDoodad(DoodadFromId(685)));
TerrainShowRegion(RegionFromId(27), false);
CameraShake(gv_pLAYER_01_USER, "Heavy", "Earthquake", 0.0, 0.5, 2.0);
SoundPlayForPlayer(SoundLink("PShakuras02_BigHit", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:806
lv_voidThrasherPoint = UnitGetPosition(lp_voidThrasher);
RegionSetCenter(RegionFromId(30), lv_voidThrasherPoint);
TerrainShowRegion(gv_voidThrasherTerrainHideRegion, false);
lv_terrainHidden = true;
while ((UnitIsAlive(lp_voidThrasher) == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:812
if ((lv_terrainHidden == true)) {
RegionSetCenter(RegionFromId(30), lv_voidThrasherPoint);
TerrainShowRegion(gv_voidThrasherTerrainHideRegion, true);
lv_terrainHidden = false;
}