# Lock Camera Input
Grammar — lock|Lock/Unlock camera input for player player
Flags —Native
|Action
Locks the camera in place for a player, causing the player to be unable to move the camera in any way.
# Arguments
int
— Playerbool
<preset::LockUnlockOption> — Lock
Returns — void
native void CameraLockInput(int player, bool lock);
# 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:2473
// Implementation
CameraLockInput(gv_p1_USER, true);
CameraInfoSetValue(lv_camera, c_cameraValuePitch, 90.0);
CameraInfoSetValue(lv_camera, c_cameraValueDistance, 50.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4066
TriggerExecute(gt_InitPreload, true, false);
SoundtrackStop(PlayerGroupAll(), c_soundtrackCategoryMusic, false);
CameraLockInput(gv_p1_USER, true);
UISetMode(PlayerGroupAll(), c_uiModeFullscreen, c_transitionDurationImmediate);
libNtve_gf_HideGameUI(false, PlayerGroupAll());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1663
}
if ((lv_playerHasSeenTown == false) && (gv_gameOver == false) && (gv_inCinematic == false)) {
CameraLockInput(gv_p1_USER, true);
CameraApplyInfo(1, CameraInfoFromId(2506), 2.0, -1, 10, true);
Wait(2.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1666
CameraApplyInfo(1, CameraInfoFromId(2506), 2.0, -1, 10, true);
Wait(2.2, c_timeGame);
CameraLockInput(gv_p1_USER, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1558
TriggerEnable(gt_AfterWraithIntroQ, true);
Wait(4.0, c_timeGame);
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(52), 1.0, -1, 10, false);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1561
CameraPan(gv_p01_USER, PointFromId(52), 1.0, -1, 10, false);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p01_USER, false);
UnitCreate(1, "StarportFlying", 0, gv_p01_USER, PointFromId(75), 315.0);
lv_starport = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3267
Wait(14.5, c_timeGame);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoDefault(), 1.0, -1, 10, true);
CameraPan(gv_p01_USER, RegionGetCenter(RegionFromId(20)), 2.0, -1, 10, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3271
CameraPan(gv_p01_USER, RegionGetCenter(RegionFromId(20)), 2.0, -1, 10, false);
Wait(2.0, c_timeGame);
CameraLockInput(gv_p01_USER, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2895
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeTipAlertPanel, true);
libNtve_gf_HideGameUI(true, PlayerGroupAll());
CameraLockInput(gv_p01_USER, false);
libNtve_gf_HideGameUI(true, PlayerGroupAll());
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3104
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(418), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(419), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4005
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(458), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1196), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4821
GameSetLighting("THorner05SSecurityCam", 0.0);
UIAlertClear(gv_p01_USER);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1197), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1198), 8.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5048
}
VisRevealerDestroy(gv_revealerTankBay);
CameraLockInput(gv_p01_USER, false);
if ((gv_computer04AllDone == false)) {
libNtve_gf_DisplayScreenButton(gv_computer04SecurityCam, StringExternal("Param/Value/55B025F4"), gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorRight, 0, -400, gt_Computer04CameraActivated);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5265
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(441), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1211), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5546
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
VisRevealerDestroy(gv_revealerLab03);
CameraLockInput(gv_p01_USER, false);
if ((gv_computer05AllDone == false)) {
libNtve_gf_DisplayScreenButton(gv_computer05SecurityCam, StringExternal("Param/Value/09781FD7"), gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorRight, 0, -400, gt_Computer05CameraActivated);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5751
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(495), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(527), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5855
libNtve_gf_HideGameUI(true, PlayerGroupAll());
VisRevealerDestroy(gv_revealerLab03);
CameraLockInput(gv_p01_USER, false);
if ((gv_computer06AllDone == false)) {
libNtve_gf_DisplayScreenButton(gv_computer06SecurityCam, StringExternal("Param/Value/21A2E42C"), gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorRight, 0, -400, gt_Computer06CameraActivated);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1737
VisRevealerCreate(gv_p1_USER, RegionFromId(59));
gv_riksvilleTownSquareReavler = VisRevealerLastCreated();
CameraLockInput(gv_p1_USER, true);
CameraPan(gv_p1_USER, PointFromId(165), 1.0, -1, 20, false);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1740
CameraPan(gv_p1_USER, PointFromId(165), 1.0, -1, 20, false);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p1_USER, false);
libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(134));
gv_viking01 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:16747
GameTimeOfDayPause(true);
VisRevealArea(1, RegionEntireMap(), 0.0, false);
CameraLockInput(1, true);
CameraUseHeightSmoothing(1, false);
CameraSetVerticalFieldOfView(1, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18144
}
CameraLockInput(1, false);
CameraApplyInfo(1, CameraInfoDefault(), 0.0, -1, 10, false);
gv_debugStoryModeEnabled = false;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:18213
lv_p = PlayerGroupPlayer(autoB89CC9F3_g, autoB89CC9F3_p);
libNtve_gf_StoryMode(PlayerGroupSingle(lv_p), false);
CameraLockInput(lv_p, false);
CameraApplyInfo(lv_p, CameraInfoFromId(65), 0.0, -1, 10, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1823
TriggerExecute(gt_ObjectiveRescuePartyComplete, true, false);
TriggerExecute(gt_TransmissionMissingMinersFoundQ, true, false);
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(1086), 1.0, -1, 10, true);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1825
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(1086), 1.0, -1, 10, true);
CameraLockInput(gv_p01_USER, false);
VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(1)), 8.0), 12.0, false);
MinimapPing(PlayerGroupAll(), UnitGetPosition(UnitFromId(1)), 8.0, Color(0.00, 100.00, 0.00));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1138
}
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);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1194
TriggerExecute(gt_OpeningAdjutantQ, true, false);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(182), 0.0, -1, 10, true);
CameraLockInput(gv_p01_USER, true);
VisRevealerCreate(gv_p01_USER, RegionEntireMap());
gv_tutorial_Visibility = VisRevealerLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:2017
TriggerExecute(gt_Camera01Q, true, false);
Wait(0.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3208
CameraSetBounds(PlayerGroupAll(), RegionFromId(21), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(346), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3210
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
TriggerEnable(gt_ObjectiveMovement03Complete, true);
UnitGroupLoopBegin(gv_pathingBlockerGroup02);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3429
CameraSetBounds(PlayerGroupAll(), RegionFromId(11), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(398), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3431
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
UnitGroupLoopBegin(gv_pathingBlockerGroup03);
while (!UnitGroupLoopDone()) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3688
CameraSetBounds(PlayerGroupAll(), RegionFromId(58), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(200), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3690
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
gv_mov_RightClickedMulti = false;
TriggerEnable(gt__13Movement05LoopMouse, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4085
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);
TriggerEnable(gt_ObjectiveCombat01Failed, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1150
}
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(151), 1.0, -1, 10, true);
CameraLockInput(gv_p1_USER, true);
Wait(1.0, c_timeGame);
CameraApplyInfo(gv_p1_USER, CameraInfoDefault(), 0.0, -1, 10, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1153
Wait(1.0, c_timeGame);
CameraApplyInfo(gv_p1_USER, CameraInfoDefault(), 0.0, -1, 10, false);
CameraLockInput(gv_p1_USER, false);
autoB899A2E8_g = UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoB899A2E8_u = UnitGroupCount(autoB899A2E8_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1262
libNtve_gf_PauseUnit(auto872D5E07_var, true);
}
CameraLockInput(gv_p1_USER, true);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(399), 0.75, -1, 10, true);
Wait(2.25, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1268
Wait(0.75, c_timeGame);
CameraApplyInfo(gv_p1_USER, CameraInfoDefault(), 0.0, -1, 10, false);
CameraLockInput(gv_p1_USER, false);
autoE07EEE0D_g = UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE07EEE0D_u = UnitGroupCount(autoE07EEE0D_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:1563
}
CameraLockInput(gv_p1_USER, true);
CameraPan(1, PointFromId(143), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:1566
CameraPan(1, PointFromId(143), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p1_USER, false);
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/7064C38D"), null, PointFromId(143));
VisRevealerCreate(gv_p1_USER, RegionFromId(26));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:1841
}
CameraLockInput(gv_p1_USER, true);
CameraPan(1, PointFromId(146), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:1844
CameraPan(1, PointFromId(146), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p1_USER, false);
libNtve_gf_PauseUnit(gv_tHEONEZERATUL, false);
UnitIssueOrder(gv_tHEONEZERATUL, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:2758
TriggerExecute(gt_FlashButtonPylonOn, true, false);
CameraLockInput(gv_p1_USER, true);
CameraPan(1, PointFromId(12), 1.0, -1, 10, false);
Wait(1.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:2763
TriggerExecute(gt_PylonPlace01, true, false);
TriggerExecute(gt_PylonPlace02, true, false);
CameraLockInput(gv_p1_USER, false);
Wait(2.0, c_timeReal);
libCamp_gf_CreateTipFromConversationState("StoryTips|Zeratul02_Pylons", libNtve_ge_TipType_NewStructure, PlayerGroupAll());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1001
PingDestroy(gv_beaconPingNexus);
TriggerExecute(gt_ObjectiveReachtheNexusComplete, true, false);
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(373), 2.0, -1, 10, false);
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1015
Wait(1.0, c_timeGame);
TriggerExecute(gt_MidCineQ, true, false);
CameraLockInput(gv_p01_USER, false);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:3541
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, UnitGetPosition(EventUnitProgressUnit()), 2.0, -1, 10, true);
Wait(1.5, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:3544
CameraPan(gv_p01_USER, UnitGetPosition(EventUnitProgressUnit()), 2.0, -1, 10, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2473
// Implementation
CameraLockInput(gv_p1_USER, true);
CameraInfoSetValue(lv_camera, c_cameraValuePitch, 90.0);
CameraInfoSetValue(lv_camera, c_cameraValueDistance, 50.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:4066
TriggerExecute(gt_InitPreload, true, false);
SoundtrackStop(PlayerGroupAll(), c_soundtrackCategoryMusic, false);
CameraLockInput(gv_p1_USER, true);
UISetMode(PlayerGroupAll(), c_uiModeFullscreen, c_transitionDurationImmediate);
libNtve_gf_HideGameUI(false, PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:1663
}
if ((lv_playerHasSeenTown == false) && (gv_gameOver == false) && (gv_inCinematic == false)) {
CameraLockInput(gv_p1_USER, true);
CameraApplyInfo(1, CameraInfoFromId(2506), 2.0, -1, 10, true);
Wait(2.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:1666
CameraApplyInfo(1, CameraInfoFromId(2506), 2.0, -1, 10, true);
Wait(2.2, c_timeGame);
CameraLockInput(gv_p1_USER, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:1558
TriggerEnable(gt_AfterWraithIntroQ, true);
Wait(4.0, c_timeGame);
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(52), 1.0, -1, 10, false);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:1561
CameraPan(gv_p01_USER, PointFromId(52), 1.0, -1, 10, false);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p01_USER, false);
UnitCreate(1, "StarportFlying", 0, gv_p01_USER, PointFromId(75), 315.0);
lv_starport = UnitLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:3267
Wait(14.5, c_timeGame);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoDefault(), 1.0, -1, 10, true);
CameraPan(gv_p01_USER, RegionGetCenter(RegionFromId(20)), 2.0, -1, 10, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:3271
CameraPan(gv_p01_USER, RegionGetCenter(RegionFromId(20)), 2.0, -1, 10, false);
Wait(2.0, c_timeGame);
CameraLockInput(gv_p01_USER, false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:2895
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeTipAlertPanel, true);
libNtve_gf_HideGameUI(true, PlayerGroupAll());
CameraLockInput(gv_p01_USER, false);
libNtve_gf_HideGameUI(true, PlayerGroupAll());
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:3104
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(418), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(419), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:4005
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(458), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1196), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:4821
GameSetLighting("THorner05SSecurityCam", 0.0);
UIAlertClear(gv_p01_USER);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1197), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1198), 8.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:5048
}
VisRevealerDestroy(gv_revealerTankBay);
CameraLockInput(gv_p01_USER, false);
if ((gv_computer04AllDone == false)) {
libNtve_gf_DisplayScreenButton(gv_computer04SecurityCam, StringExternal("Param/Value/55B025F4"), gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorRight, 0, -400, gt_Computer04CameraActivated);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:5265
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(441), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1211), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:5546
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
VisRevealerDestroy(gv_revealerLab03);
CameraLockInput(gv_p01_USER, false);
if ((gv_computer05AllDone == false)) {
libNtve_gf_DisplayScreenButton(gv_computer05SecurityCam, StringExternal("Param/Value/09781FD7"), gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorRight, 0, -400, gt_Computer05CameraActivated);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:5751
CinematicOverlay(true, 0.0, "Assets\\Textures\\securitycam1.dds", 0.0, true);
GameSetLighting("THorner05SSecurityCam", 0.0);
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(495), 0.0, -1, 10, true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(527), 12.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:5855
libNtve_gf_HideGameUI(true, PlayerGroupAll());
VisRevealerDestroy(gv_revealerLab03);
CameraLockInput(gv_p01_USER, false);
if ((gv_computer06AllDone == false)) {
libNtve_gf_DisplayScreenButton(gv_computer06SecurityCam, StringExternal("Param/Value/21A2E42C"), gv_buttonSizeWidth, gv_buttonSizeHeight, c_anchorRight, 0, -400, gt_Computer06CameraActivated);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1737
VisRevealerCreate(gv_p1_USER, RegionFromId(59));
gv_riksvilleTownSquareReavler = VisRevealerLastCreated();
CameraLockInput(gv_p1_USER, true);
CameraPan(gv_p1_USER, PointFromId(165), 1.0, -1, 20, false);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:1740
CameraPan(gv_p1_USER, PointFromId(165), 1.0, -1, 20, false);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p1_USER, false);
libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(134));
gv_viking01 = UnitLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:16747
GameTimeOfDayPause(true);
VisRevealArea(1, RegionEntireMap(), 0.0, false);
CameraLockInput(1, true);
CameraUseHeightSmoothing(1, false);
CameraSetVerticalFieldOfView(1, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18144
}
CameraLockInput(1, false);
CameraApplyInfo(1, CameraInfoDefault(), 0.0, -1, 10, false);
gv_debugStoryModeEnabled = false;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:18213
lv_p = PlayerGroupPlayer(autoB89CC9F3_g, autoB89CC9F3_p);
libNtve_gf_StoryMode(PlayerGroupSingle(lv_p), false);
CameraLockInput(lv_p, false);
CameraApplyInfo(lv_p, CameraInfoFromId(65), 0.0, -1, 10, true);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:1823
TriggerExecute(gt_ObjectiveRescuePartyComplete, true, false);
TriggerExecute(gt_TransmissionMissingMinersFoundQ, true, false);
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(1086), 1.0, -1, 10, true);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:1825
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(1086), 1.0, -1, 10, true);
CameraLockInput(gv_p01_USER, false);
VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(1)), 8.0), 12.0, false);
MinimapPing(PlayerGroupAll(), UnitGetPosition(UnitFromId(1)), 8.0, Color(0.00, 100.00, 0.00));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1138
}
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);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1194
TriggerExecute(gt_OpeningAdjutantQ, true, false);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(182), 0.0, -1, 10, true);
CameraLockInput(gv_p01_USER, true);
VisRevealerCreate(gv_p01_USER, RegionEntireMap());
gv_tutorial_Visibility = VisRevealerLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:2017
TriggerExecute(gt_Camera01Q, true, false);
Wait(0.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3208
CameraSetBounds(PlayerGroupAll(), RegionFromId(21), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(346), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3210
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
TriggerEnable(gt_ObjectiveMovement03Complete, true);
UnitGroupLoopBegin(gv_pathingBlockerGroup02);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3429
CameraSetBounds(PlayerGroupAll(), RegionFromId(11), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(398), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3431
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
UnitGroupLoopBegin(gv_pathingBlockerGroup03);
while (!UnitGroupLoopDone()) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3688
CameraSetBounds(PlayerGroupAll(), RegionFromId(58), true);
CameraApplyInfo(gv_p01_USER, CameraInfoFromId(200), 1.5, 0, 20, true);
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3690
CameraLockInput(gv_p01_USER, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
gv_mov_RightClickedMulti = false;
TriggerEnable(gt__13Movement05LoopMouse, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:4085
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);
TriggerEnable(gt_ObjectiveCombat01Failed, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:1150
}
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(151), 1.0, -1, 10, true);
CameraLockInput(gv_p1_USER, true);
Wait(1.0, c_timeGame);
CameraApplyInfo(gv_p1_USER, CameraInfoDefault(), 0.0, -1, 10, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:1153
Wait(1.0, c_timeGame);
CameraApplyInfo(gv_p1_USER, CameraInfoDefault(), 0.0, -1, 10, false);
CameraLockInput(gv_p1_USER, false);
autoB899A2E8_g = UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoB899A2E8_u = UnitGroupCount(autoB899A2E8_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:1262
libNtve_gf_PauseUnit(auto872D5E07_var, true);
}
CameraLockInput(gv_p1_USER, true);
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(399), 0.75, -1, 10, true);
Wait(2.25, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:1268
Wait(0.75, c_timeGame);
CameraApplyInfo(gv_p1_USER, CameraInfoDefault(), 0.0, -1, 10, false);
CameraLockInput(gv_p1_USER, false);
autoE07EEE0D_g = UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE07EEE0D_u = UnitGroupCount(autoE07EEE0D_g, c_unitCountAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:1563
}
CameraLockInput(gv_p1_USER, true);
CameraPan(1, PointFromId(143), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:1566
CameraPan(1, PointFromId(143), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p1_USER, false);
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/7064C38D"), null, PointFromId(143));
VisRevealerCreate(gv_p1_USER, RegionFromId(26));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:1841
}
CameraLockInput(gv_p1_USER, true);
CameraPan(1, PointFromId(146), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:1844
CameraPan(1, PointFromId(146), 1.0, -1, 10, true);
Wait(1.0, c_timeGame);
CameraLockInput(gv_p1_USER, false);
libNtve_gf_PauseUnit(gv_tHEONEZERATUL, false);
UnitIssueOrder(gv_tHEONEZERATUL, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:2758
TriggerExecute(gt_FlashButtonPylonOn, true, false);
CameraLockInput(gv_p1_USER, true);
CameraPan(1, PointFromId(12), 1.0, -1, 10, false);
Wait(1.0, c_timeReal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:2763
TriggerExecute(gt_PylonPlace01, true, false);
TriggerExecute(gt_PylonPlace02, true, false);
CameraLockInput(gv_p1_USER, false);
Wait(2.0, c_timeReal);
libCamp_gf_CreateTipFromConversationState("StoryTips|Zeratul02_Pylons", libNtve_ge_TipType_NewStructure, PlayerGroupAll());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:1001
PingDestroy(gv_beaconPingNexus);
TriggerExecute(gt_ObjectiveReachtheNexusComplete, true, false);
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, PointFromId(373), 2.0, -1, 10, false);
libNtve_gf_MakeUnitUncommandable(gv_zeratul, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:1015
Wait(1.0, c_timeGame);
TriggerExecute(gt_MidCineQ, true, false);
CameraLockInput(gv_p01_USER, false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:3541
TriggerEnable(TriggerGetCurrent(), false);
TriggerQueueEnter();
CameraLockInput(gv_p01_USER, true);
CameraPan(gv_p01_USER, UnitGetPosition(EventUnitProgressUnit()), 2.0, -1, 10, true);
Wait(1.5, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:3544
CameraPan(gv_p01_USER, UnitGetPosition(EventUnitProgressUnit()), 2.0, -1, 10, true);
Wait(1.5, c_timeGame);
CameraLockInput(gv_p01_USER, false);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:2342
SoundPlay(SoundLink("Evolution_ZerglingPart1_NatSndBed", -1), PlayerGroupAll(), 100.0, 0.0);
TriggerExecute(gt_RaptorEncounterTransmissionQ, true, false);
CameraLockInput(gv_pLAYER_01_USER, true);
GameSetGlobalTimeScale(0.3);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(13), 1.0, -1, 10.0, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:2353
CameraInfoSetTarget(lv_camera, CameraInfoGetTarget(CameraInfoFromId(91)));
CameraApplyInfo(gv_pLAYER_01_USER, lv_camera, 1.0, -1, 10.0, true);
CameraLockInput(gv_pLAYER_01_USER, false);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:2448
SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryDoodad, 85.0, 1.0);
TriggerExecute(gt_StartFirstMatriarchAttack, true, false);
CameraLockInput(gv_pLAYER_01_USER, true);
CameraPan(gv_pLAYER_01_USER, PointFromId(694), 3.0, -1, 10, true);
SoundPlay(SoundLink("Event_Exp1_SnowBeastRoar", -1), PlayerGroupAll(), 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:2462
CameraPan(gv_pLAYER_01_USER, PointFromId(1277), 3.0, -1, 10, false);
Wait(3.0, c_timeGame);
CameraLockInput(gv_pLAYER_01_USER, false);
gf_EndFlashFreeze();
gf_RescueUnit(UnitFromId(619), EventUnit());