# Set Camera Bounds
Grammar — Set the camera bounds for players to bounds (minimap|Do/Do Not adjust the minimap)
Flags —Native
|Action
Sets the camera bounds within a region. This will limit the specified Players from moving their camera beyond the specified Bounds. If the Minimap parameter is set to Do, the minimap will also shrink to fit the camera bounds. This is useful for hiding things off map, or having the playable area expand at some point during your map.
# Arguments
playergroup
— Playersregion
— Boundsbool
<preset::Do_Do_Not_Option> — Minimap
Returns — void
native void CameraSetBounds(
playergroup players,
region bounds,
bool includeMinimap,
);
# Related
Category: Camera / Camera Tricks
- Lock Camera Input —
void
— CameraLockInput - Set Camera Bounds —
void
— CameraSetBounds - Shake Camera —
void
— CameraShakeStart - Shake Camera Using Preset —
void
— CameraShake - Stop Shaking Camera —
void
— CameraShakeStop - Zoom Camera —
void
— libNtve_gf_SwooshCamera - Follow Unit Group with Camera —
void
— CameraFollowUnitGroup - Unit Group Followed By Camera —
unitgroup
— CameraFollowUnitGroupGet - Force Follow Unit Group with Camera —
void
— CameraForceFollowUnitGroup - Make Camera Look At And Follow Unit —
void
— CameraLookAtUnit - Make Camera Look At And Follow Actor —
void
— CameraLookAtActor - Lock Camera Mouse Relative Mode On/Off —
void
— CameraForceMouseRelative - Turn Camera Mouse Rotation On/Off —
void
— CameraSetMouseRotates - Set Camera Mouse Rotation Speed —
void
— CameraSetMouseRotationSpeed - Turn Camera Height Displacement On/Off —
void
— CameraUseHeightDisplacement - Turn Camera Height Smoothing On/Off —
void
— CameraUseHeightSmoothing - Turn Camera Vertical Field Of View On/Off —
void
— CameraSetVerticalFieldOfView
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2495
// Implementation
lv_bounds = gf_GetCameraBoundary();
CameraSetBounds(PlayerGroupAll(), lv_bounds, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1008
GameTimeOfDaySet("08:00:00");
CameraSetBounds(PlayerGroupAll(), RegionRect(128.0, 2.0, 256.0, 195.0), true);
libLbty_gf_AutoRevealRegion(RegionFromId(97), RegionFromId(97), gv_p01_USER);
libLbty_gf_AutoRevealRegion(RegionFromId(17), RegionFromId(17), gv_p01_USER);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:12448
Wait(0.2, c_timeGame);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraSetBounds(PlayerGroupAll(), RegionRect(17.0, 12.0, 128.0, 203.0), true);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1279), 0.0, -1, 10, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1139
UnitGroupLoopEnd();
CameraLockInput(gv_p01_USER, true);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
CinematicFade(true, 0.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
TriggerQueueClear(c_triggerQueueRemove);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1996
gv_pickedCamera = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(211), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(17), true);
TriggerEnable(gt__0407Camera01LoopArrows, true);
libNtve_gf_GlobalCinematicSetting(false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2682
gv_pickedMovement = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(250), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(25), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Marine", 0, gv_p01_USER, PointFromId(249));
gv_mov_Marine01 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3206
Wait(0.2, c_timeGame);
VisExploreArea(gv_p01_USER, RegionEntireMap(), false, false);
CameraSetBounds(PlayerGroupAll(), RegionFromId(21), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(346), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3427
}
UnitGroupLoopEnd();
CameraSetBounds(PlayerGroupAll(), RegionFromId(11), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(398), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3686
}
CameraSetBounds(PlayerGroupAll(), RegionFromId(58), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(200), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4084
gv_pickedCombat = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(184), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
CameraLockInput(gv_p01_USER, false);
TriggerEnable(gt__14Combat01LoopMouse, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4533
UnitGroupLoopEnd();
libNtve_gf_RemoveDeathModelsinRegion(RegionPlayableMap());
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(187));
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(189));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5097
UnitGroupLoopEnd();
libNtve_gf_RemoveDeathModelsinRegion(RegionPlayableMap());
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(187));
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(189));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5680
gv_pickedConstruction = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(183), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(23), true);
TechTreeUnitAllow(gv_p01_USER, "Barracks", false);
TechTreeUnitAllow(gv_p01_USER, "CommandCenter", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4519
AITimePause(true);
GameTimeOfDayPause(true);
CameraSetBounds(gv_fORCEGOOD_GUYS, gv_mapAreaNormal, true);
RegionPlayableMapSet(gv_mapAreaNormal);
CinematicFade(false, 0.1, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:6076
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
GameTimeOfDayPause(true);
CameraSetBounds(gv_fORCEGOOD_GUYS, gv_mapAreaNormal, true);
RegionPlayableMapSet(gv_mapAreaNormal);
UnitGroupIssueOrder(UnitGroup(null, c_playerAny, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9751
libNtve_gf_CinematicMode(false, PlayerGroupAll(), lv_fadeDuration);
libNtve_gf_GlobalCinematicSetting(false);
CameraSetBounds(PlayerGroupAll(), RegionFromId(3), true);
VisExploreArea(1, RegionEntireMap(), false, false);
VisRevealArea(1, RegionFromId(28), 0.1, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9761
libNtve_gf_CinematicMode(false, PlayerGroupAll(), lv_fadeDuration);
libNtve_gf_GlobalCinematicSetting(false);
CameraSetBounds(PlayerGroupAll(), RegionFromId(3), true);
VisExploreArea(1, RegionEntireMap(), false, false);
VisRevealArea(1, RegionFromId(28), 0.1, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:557
}
CameraSetBounds(PlayerGroupAll(), RegionFromId(19), true);
GameSetToDLighting("Shakuras");
GameTimeOfDaySet("08:00:00");
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:826
ObjectiveShow(gv_objectiveSurvive03, PlayerGroupAll(), false);
UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
VisExploreArea(gv_pLAYER_USER, RegionEntireMap(), false, false);
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:492
TriggerQueuePause(false);
UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
VisExploreArea(gv_pLAYER_USER, RegionEntireMap(), false, false);
UnitGroupLoopBegin(UnitGroup(null, c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:660
TriggerQueueEnter();
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
Wait(1.0, c_timeReal);
UISetMode(PlayerGroupAll(), c_uiModeConsole, c_transitionDurationDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:1838
libNtve_gf_CinematicMode(false, PlayerGroupAll(), c_transitionDurationDefault);
libNtve_gf_GlobalCinematicSetting(false);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
GameSetSpeedLocked(true);
GameSetSpeedValue(c_gameSpeedNormal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2495
// Implementation
lv_bounds = gf_GetCameraBoundary();
CameraSetBounds(PlayerGroupAll(), lv_bounds, true);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:1008
GameTimeOfDaySet("08:00:00");
CameraSetBounds(PlayerGroupAll(), RegionRect(128.0, 2.0, 256.0, 195.0), true);
libLbty_gf_AutoRevealRegion(RegionFromId(97), RegionFromId(97), gv_p01_USER);
libLbty_gf_AutoRevealRegion(RegionFromId(17), RegionFromId(17), gv_p01_USER);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:12448
Wait(0.2, c_timeGame);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraSetBounds(PlayerGroupAll(), RegionRect(17.0, 12.0, 128.0, 203.0), true);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1279), 0.0, -1, 10, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1139
UnitGroupLoopEnd();
CameraLockInput(gv_p01_USER, true);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
CinematicFade(true, 0.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
TriggerQueueClear(c_triggerQueueRemove);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1996
gv_pickedCamera = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(211), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(17), true);
TriggerEnable(gt__0407Camera01LoopArrows, true);
libNtve_gf_GlobalCinematicSetting(false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2682
gv_pickedMovement = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(250), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(25), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Marine", 0, gv_p01_USER, PointFromId(249));
gv_mov_Marine01 = UnitLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3206
Wait(0.2, c_timeGame);
VisExploreArea(gv_p01_USER, RegionEntireMap(), false, false);
CameraSetBounds(PlayerGroupAll(), RegionFromId(21), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(346), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3427
}
UnitGroupLoopEnd();
CameraSetBounds(PlayerGroupAll(), RegionFromId(11), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(398), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3686
}
CameraSetBounds(PlayerGroupAll(), RegionFromId(58), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(200), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:4084
gv_pickedCombat = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(184), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
CameraLockInput(gv_p01_USER, false);
TriggerEnable(gt__14Combat01LoopMouse, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:4533
UnitGroupLoopEnd();
libNtve_gf_RemoveDeathModelsinRegion(RegionPlayableMap());
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(187));
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(189));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:5097
UnitGroupLoopEnd();
libNtve_gf_RemoveDeathModelsinRegion(RegionPlayableMap());
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(187));
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(189));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:5680
gv_pickedConstruction = 1;
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(183), 0.0, -1, 10, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(23), true);
TechTreeUnitAllow(gv_p01_USER, "Barracks", false);
TechTreeUnitAllow(gv_p01_USER, "CommandCenter", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:4519
AITimePause(true);
GameTimeOfDayPause(true);
CameraSetBounds(gv_fORCEGOOD_GUYS, gv_mapAreaNormal, true);
RegionPlayableMapSet(gv_mapAreaNormal);
CinematicFade(false, 0.1, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:6076
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
GameTimeOfDayPause(true);
CameraSetBounds(gv_fORCEGOOD_GUYS, gv_mapAreaNormal, true);
RegionPlayableMapSet(gv_mapAreaNormal);
UnitGroupIssueOrder(UnitGroup(null, c_playerAny, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:9751
libNtve_gf_CinematicMode(false, PlayerGroupAll(), lv_fadeDuration);
libNtve_gf_GlobalCinematicSetting(false);
CameraSetBounds(PlayerGroupAll(), RegionFromId(3), true);
VisExploreArea(1, RegionEntireMap(), false, false);
VisRevealArea(1, RegionFromId(28), 0.1, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:9761
libNtve_gf_CinematicMode(false, PlayerGroupAll(), lv_fadeDuration);
libNtve_gf_GlobalCinematicSetting(false);
CameraSetBounds(PlayerGroupAll(), RegionFromId(3), true);
VisExploreArea(1, RegionEntireMap(), false, false);
VisRevealArea(1, RegionFromId(28), 0.1, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:557
}
CameraSetBounds(PlayerGroupAll(), RegionFromId(19), true);
GameSetToDLighting("Shakuras");
GameTimeOfDaySet("08:00:00");
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2map — MapScript.galaxy:826
ObjectiveShow(gv_objectiveSurvive03, PlayerGroupAll(), false);
UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
VisExploreArea(gv_pLAYER_USER, RegionEntireMap(), false, false);
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:492
TriggerQueuePause(false);
UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
VisExploreArea(gv_pLAYER_USER, RegionEntireMap(), false, false);
UnitGroupLoopBegin(UnitGroup(null, c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:660
TriggerQueueEnter();
CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
Wait(1.0, c_timeReal);
UISetMode(PlayerGroupAll(), c_uiModeConsole, c_transitionDurationDefault);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:1838
libNtve_gf_CinematicMode(false, PlayerGroupAll(), c_transitionDurationDefault);
libNtve_gf_GlobalCinematicSetting(false);
CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
GameSetSpeedLocked(true);
GameSetSpeedValue(c_gameSpeedNormal);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:3806
UISetSelectionTypeEnabled(PlayerGroupAll(), c_localSelectionTypeUnknown, true);
CameraLockInput(gv_p01_USER, false);
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:4532
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeMinimapPanel, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(2), true);
CameraLockInput(gv_p01_USER, false);
TriggerExecute(gt_BasicPanCameraIntroQ, true, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5716
gf_TerranLeaveBaseCleanup();
gf_TerranFindScoutsCleanup();
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5743
PlayerSetColorIndex(gv_p02_ENEMY, 1, true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Aiur_Jungle_Quad", c_soundtrackCueAny, c_soundtrackIndexAny, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(7), true);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("UpgradeToOrbital", 0), false);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("UpgradeToPlanetaryFortress", 0), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:8726
}
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Beacon_Terran", 0, 0, PointFromId(38));
gv_terran07BridgeBeacon = UnitLastCreated();
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9756
}
UnitGroupLoopEnd();
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9788
PlayerSetColorIndex(gv_p02_ENEMY, 2, true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Aiur_Jungle_Quad", c_soundtrackCueAny, c_soundtrackIndexAny, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(1), true);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("TrainQueen", 0), false);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("LairResearch", 1), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:14385
VisRevealerCreate(gv_p01_USER, RegionFromId(32));
gv_zergAttackRevealer = VisRevealerLastCreated();
CameraSetBounds(PlayerGroupAll(), RegionFromId(3), true);
UnitIssueOrder(UnitFromId(54), Order(AbilityCommand("AiurTempleStoneGateDiagonalULBRRFLowered", 0)), c_orderQueueReplace);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "TutorialAttackBeacon", 0, gv_p01_USER, PointFromId(546));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15580
}
UnitGroupLoopEnd();
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15611
PlayerSetColorIndex(gv_p01_USER, 5, true);
PlayerSetColorIndex(gv_p02_ENEMY, 1, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(9), true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Aiur_Jungle_Quad", c_soundtrackCueAny, c_soundtrackIndexAny, true);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("GatewayTrain", 0), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:3806
UISetSelectionTypeEnabled(PlayerGroupAll(), c_localSelectionTypeUnknown, true);
CameraLockInput(gv_p01_USER, false);
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:4532
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeMinimapPanel, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(2), true);
CameraLockInput(gv_p01_USER, false);
TriggerExecute(gt_BasicPanCameraIntroQ, true, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5716
gf_TerranLeaveBaseCleanup();
gf_TerranFindScoutsCleanup();
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5743
PlayerSetColorIndex(gv_p02_ENEMY, 1, true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Aiur_Jungle_Quad", c_soundtrackCueAny, c_soundtrackIndexAny, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(7), true);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("UpgradeToOrbital", 0), false);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("UpgradeToPlanetaryFortress", 0), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:8726
}
CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Beacon_Terran", 0, 0, PointFromId(38));
gv_terran07BridgeBeacon = UnitLastCreated();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9756
}
UnitGroupLoopEnd();
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9788
PlayerSetColorIndex(gv_p02_ENEMY, 2, true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Aiur_Jungle_Quad", c_soundtrackCueAny, c_soundtrackIndexAny, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(1), true);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("TrainQueen", 0), false);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("LairResearch", 1), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:14385
VisRevealerCreate(gv_p01_USER, RegionFromId(32));
gv_zergAttackRevealer = VisRevealerLastCreated();
CameraSetBounds(PlayerGroupAll(), RegionFromId(3), true);
UnitIssueOrder(UnitFromId(54), Order(AbilityCommand("AiurTempleStoneGateDiagonalULBRRFLowered", 0)), c_orderQueueReplace);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "TutorialAttackBeacon", 0, gv_p01_USER, PointFromId(546));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:15580
}
UnitGroupLoopEnd();
CameraSetBounds(PlayerGroupAll(), RegionEntireMap(), true);
VisRevealerDestroy(gv_startingAreaRevealer);
return true;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:15611
PlayerSetColorIndex(gv_p01_USER, 5, true);
PlayerSetColorIndex(gv_p02_ENEMY, 1, true);
CameraSetBounds(PlayerGroupAll(), RegionFromId(9), true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, "Ambience_Aiur_Jungle_Quad", c_soundtrackCueAny, c_soundtrackIndexAny, true);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("GatewayTrain", 0), false);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:1183
// Implementation
libGame_gv_cameraBound_CurrentCameraBoundForPlayer[lp_player] = lp_boundsIndex;
CameraSetBounds(libCore_gv_playerGroupFromPlayer[lp_player], libGame_gv_cameraBound_Regions[lp_boundsIndex], true);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:1201
libGame_gv_cameraBound_CurrentCameraBoundForPlayer[lp_player] = lv_boundsIndex;
CameraSetBounds(libCore_gv_playerGroupFromPlayer[lp_player], lp_bound, true);
}