# Restore Camera
Grammar — Restore the saved camera settings for player player over duration seconds with initialVelocity% initial velocity and decelerate% deceleration
Flags —Native
|Action
Restores the camera to a previously saved configuration. You can save camera settings using “Save Camera”.
# Arguments
int
— Playerfixed
— Durationfixed
— Initial Velocityfixed
— Decelerate
Returns — void
native void CameraRestore(
int player,
fixed duration,
fixed velocity,
fixed decelerate,
);
# Related
Category: Camera / Basic
- Apply Camera Object —
void
— CameraApplyInfo - Default Game Camera —
camerainfo
— CameraInfoDefault - Pan Camera —
void
— CameraPan - Make Camera Look At —
void
— CameraLookAt - Camera Target Of Player —
point
— CameraGetTarget - Camera Pitch of Player —
fixed
— CameraGetPitch - Camera Yaw of Player —
fixed
— CameraGetYaw - Camera Distance of Player —
fixed
— CameraGetDistance - Save Camera —
void
— CameraSave - Restore Camera —
void
— CameraRestore - Set Camera Channel On Portrait —
void
— CameraSetChannelOnPortrait - Clear Camera Channel On Portrait —
void
— CameraClearChannelOnPortrait - Set Camera Data —
void
— CameraSetData
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5587
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
if ((gv_midCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:11741
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
UnitIssueOrder(UnitFromId(2658), Order(AbilityCommand("DestructibleGateDiagonalBLUR", 0)), c_orderQueueAddToEnd);
UnitSetState(UnitFromId(2658), c_unitStateSelectable, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:12097
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
if ((gv_midCinematicCompletedLab03 == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:12449
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);
libNtve_gf_SwooshCamera(gv_p01_USER, (gv_cameraDefault + 8.0), gv_cameraDefault, PointWithOffset(PointFromId(634), 0.0, 0.0), lv_fadeDuration);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:5686
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(728)), c_animNameDefault, "Fidget Inferior", c_animFlagPlayForever, c_animTimeDefault);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(216)), c_animNameDefault, "Fidget Inferior Start", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5429
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_SwooshCamera(gv_p1_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), UnitGetPosition(UnitFromId(508)), 1.5);
VisRevealArea(gv_p1_USER, RegionFromId(6), 0.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:5282
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
VisExploreArea(gv_pLAYER_01_USER, gv_mapAreaNormal, true, false);
TriggerExecute(gt_StartAIWaves, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:5661
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
TimerPause(gv_tIMERVortexCooldown, false);
TimerPause(gv_warpPrismTimer, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:5942
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_uNITVault), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
TriggerExecute(gt_MothershipCreate, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:7904
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
libNtve_gf_ShowHideUnit(gv_nydusOBJ01, true);
libNtve_gf_ShowHideUnit(gv_nydusOBJ02, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9684
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10068
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
CameraShakeStop(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10407
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10854
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
CameraShakeStop(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11427
UIAlertClear(gv_p1_USER);
RegionPlayableMapSet(RegionFromId(128));
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_SwooshCamera(gv_p1_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), PointFromId(86), 1.0);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "TValerian02AMusicAlt", c_soundtrackCueAny, c_soundtrackIndexAny, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:5879
PlayerSetState(gv_pLAYER_P01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_P01_USER);
CameraRestore(gv_pLAYER_P01_USER, 0.0, -1, 10);
auto4E6C7F68_val = gv_cinematicNumber;
if (auto4E6C7F68_val == 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:6695
PlayerSetState(gv_pLAYER_P01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_P01_USER);
CameraRestore(gv_pLAYER_P01_USER, 0.0, -1, 10);
if ((gv_midLeviathanCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6904
libNtve_gf_SetAlliance(gv_p1_USER, gv_p3_PROTOSS_ENEMY, libNtve_ge_AllianceSetting_Enemy);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_KillModel(gv_actorHybridSpawn);
UnitRemove(gv_hybridNeutral);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4973
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 600);
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropVespene, c_playerPropOperSetTo, 250);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6426
AITimePause(false);
libNtve_gf_RestoreUnitSelection(gv_p01_PLAYER);
CameraRestore(gv_p01_PLAYER, 0.0, -1, 10);
if ((gv_midCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:5587
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
if ((gv_midCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:11741
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
UnitIssueOrder(UnitFromId(2658), Order(AbilityCommand("DestructibleGateDiagonalBLUR", 0)), c_orderQueueAddToEnd);
UnitSetState(UnitFromId(2658), c_unitStateSelectable, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:12097
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
if ((gv_midCinematicCompletedLab03 == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:12449
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);
libNtve_gf_SwooshCamera(gv_p01_USER, (gv_cameraDefault + 8.0), gv_cameraDefault, PointWithOffset(PointFromId(634), 0.0, 0.0), lv_fadeDuration);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:5686
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(728)), c_animNameDefault, "Fidget Inferior", c_animFlagPlayForever, c_animTimeDefault);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(216)), c_animNameDefault, "Fidget Inferior Start", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:5429
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_SwooshCamera(gv_p1_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), UnitGetPosition(UnitFromId(508)), 1.5);
VisRevealArea(gv_p1_USER, RegionFromId(6), 0.0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:5282
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
VisExploreArea(gv_pLAYER_01_USER, gv_mapAreaNormal, true, false);
TriggerExecute(gt_StartAIWaves, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:5661
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
TimerPause(gv_tIMERVortexCooldown, false);
TimerPause(gv_warpPrismTimer, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:5942
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_uNITVault), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
TriggerExecute(gt_MothershipCreate, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:7904
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
libNtve_gf_ShowHideUnit(gv_nydusOBJ01, true);
libNtve_gf_ShowHideUnit(gv_nydusOBJ02, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:9684
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10068
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
CameraShakeStop(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10407
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10854
PlayerSetState(gv_p1_USER, c_playerStateXPGain, true);
CameraShakeStop(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:11427
UIAlertClear(gv_p1_USER);
RegionPlayableMapSet(RegionFromId(128));
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_SwooshCamera(gv_p1_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), PointFromId(86), 1.0);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "TValerian02AMusicAlt", c_soundtrackCueAny, c_soundtrackIndexAny, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:5879
PlayerSetState(gv_pLAYER_P01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_P01_USER);
CameraRestore(gv_pLAYER_P01_USER, 0.0, -1, 10);
auto4E6C7F68_val = gv_cinematicNumber;
if (auto4E6C7F68_val == 1) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:6695
PlayerSetState(gv_pLAYER_P01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_P01_USER);
CameraRestore(gv_pLAYER_P01_USER, 0.0, -1, 10);
if ((gv_midLeviathanCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:6904
libNtve_gf_SetAlliance(gv_p1_USER, gv_p3_PROTOSS_ENEMY, libNtve_ge_AllianceSetting_Enemy);
libNtve_gf_RestoreUnitSelection(gv_p1_USER);
CameraRestore(gv_p1_USER, 0.0, -1, 10);
libNtve_gf_KillModel(gv_actorHybridSpawn);
UnitRemove(gv_hybridNeutral);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:4973
PlayerSetState(gv_p01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_p01_USER);
CameraRestore(gv_p01_USER, 0.0, -1, 10);
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 600);
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropVespene, c_playerPropOperSetTo, 250);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2map — MapScript.galaxy:6426
AITimePause(false);
libNtve_gf_RestoreUnitSelection(gv_p01_PLAYER);
CameraRestore(gv_p01_PLAYER, 0.0, -1, 10);
if ((gv_midCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2map/MapScript.galaxy:4641
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
TriggerExecute(gt_HunterCreateBriefingModelOnCommandCenter, true, false);
TriggerEnable(gt_HunterWhereDoTheyComeFromQ, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:7655
libSwaC_gf_EnableDisableZerglingRespawn(true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
CameraPan(gv_pLAYER_01_USER, PointWithOffset(PointFromId(116), 0.0, 0.0), 0.0, -1, 10, false);
libSwaC_gf_ResetHeroAbilityCooldowns(libSwaC_ge_HeroUnit_Kerrigan);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:6052
UnitSetPropertyFixed(gv_kerrigan, c_unitPropEnergyPercent, 100.0);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
SoundStop(gv_midBileSound, true);
auto657C393E_var = 1;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:5648
libSwaC_gf_EnableDisableZerglingRespawn(true);
libNtve_gf_RestoreUnitSelection(gv_PLAYER_01_USER);
CameraRestore(gv_PLAYER_01_USER, 0.0, -1, 10.0);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:11666
GameTimeOfDayPause(false);
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
SoundStop(gv_midThorSound, true);
SoundStop(gv_midAlertSound, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:9117
RegionPlayableMapSet(RegionFromId(1));
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
SoundStop(gv_midNydusSound1, true);
SoundStop(gv_midNydusSound2, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:6767
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
libSwaC_gf_ClearAnimationwithblendtime(c_animNameDefault, gv_playerBase, 0.0);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10.0);
CameraPan(gv_pLAYER_01_USER, UnitGetPosition(gv_hyperion), 0.0, -1, 10.0, false);
ObjectiveShow(gv_objectiveDestroyDominionBase3, PlayerGroupAll(), false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:7462
libSwaC_gf_EnableDisableZerglingRespawn(true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_introCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:6245
}
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2map — MapScript.galaxy:4641
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
TriggerExecute(gt_HunterCreateBriefingModelOnCommandCenter, true, false);
TriggerEnable(gt_HunterWhereDoTheyComeFromQ, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2map — MapScript.galaxy:7655
libSwaC_gf_EnableDisableZerglingRespawn(true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
CameraPan(gv_pLAYER_01_USER, PointWithOffset(PointFromId(116), 0.0, 0.0), 0.0, -1, 10, false);
libSwaC_gf_ResetHeroAbilityCooldowns(libSwaC_ge_HeroUnit_Kerrigan);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:6052
UnitSetPropertyFixed(gv_kerrigan, c_unitPropEnergyPercent, 100.0);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
SoundStop(gv_midBileSound, true);
auto657C393E_var = 1;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map — MapScript.galaxy:5648
libSwaC_gf_EnableDisableZerglingRespawn(true);
libNtve_gf_RestoreUnitSelection(gv_PLAYER_01_USER);
CameraRestore(gv_PLAYER_01_USER, 0.0, -1, 10.0);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:11666
GameTimeOfDayPause(false);
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
SoundStop(gv_midThorSound, true);
SoundStop(gv_midAlertSound, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:9117
RegionPlayableMapSet(RegionFromId(1));
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
SoundStop(gv_midNydusSound1, true);
SoundStop(gv_midNydusSound2, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:6767
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
libSwaC_gf_ClearAnimationwithblendtime(c_animNameDefault, gv_playerBase, 0.0);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10.0);
CameraPan(gv_pLAYER_01_USER, UnitGetPosition(gv_hyperion), 0.0, -1, 10.0, false);
ObjectiveShow(gv_objectiveDestroyDominionBase3, PlayerGroupAll(), false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus01.sc2map — MapScript.galaxy:7462
libSwaC_gf_EnableDisableZerglingRespawn(true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_introCinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:6245
}
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7584
if ((libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindStory) == false)) {
CameraRestore(1, 0.0, -1, 10);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:11397
if ((libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindStory) == false)) {
CameraRestore(1, 0.0, -1, 10);
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23238
UISetWorldVisible(PlayerGroupAll(), true);
if ((libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindMission) == true)) {
CameraRestore(1, 0.0, -1, 10.0);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:23383
libNtve_gf_HideGameUI(true, PlayerGroupAll());
UISetWorldVisible(PlayerGroupAll(), true);
CameraRestore(1, 0.0, -1, 10.0);
CinematicFade(true, 0.0, c_fadeStyleNormal, Color(0.00, 0.00, 0.00), 0.0, true);
TriggerEnable(TriggerGetCurrent(), true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pcampaigntest.sc2map/MapScript.galaxy:2359
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
RegionPlayableMapSet(RegionEntireMap());
TriggerExecute(gt_SetupToggleButton, true, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5704
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:6565
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeResourcePanel, true);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeSupply, true);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10.0);
Wait(0.0625, c_timeGame);
libNtve_gf_SwooshCamera(gv_pLAYER_01_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), CameraGetTarget(gv_pLAYER_01_USER), lv_fadeDuration);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:6391
libVCMI_gf_AddMissionTipCampaign("VoidThrasher");
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
VisRevealArea(gv_pLAYER_01_USER, RegionFromId(1), 6.0, false);
if ((gv_cinematicCompleted == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map/MapScript.galaxy:6735
libVCMI_gf_SendActorMessageToDoodadsInRegion("Signal WorkStop", "Void_Amon_Ground_Effect", gv_worldCleaverBaseAreas[1].lv_killZone);
gf_BlackOutTerraininRegion(gv_worldCleaverBaseAreas[1].lv_terrainDestructionRegion);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pcampaigntest.sc2map — MapScript.galaxy:2359
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
RegionPlayableMapSet(RegionEntireMap());
TriggerExecute(gt_SetupToggleButton, true, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:5704
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:6565
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeResourcePanel, true);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeSupply, true);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10.0);
Wait(0.0625, c_timeGame);
libNtve_gf_SwooshCamera(gv_pLAYER_01_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), CameraGetTarget(gv_pLAYER_01_USER), lv_fadeDuration);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2map — MapScript.galaxy:6391
libVCMI_gf_AddMissionTipCampaign("VoidThrasher");
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
VisRevealArea(gv_pLAYER_01_USER, RegionFromId(1), 6.0, false);
if ((gv_cinematicCompleted == true)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map — MapScript.galaxy:6735
libVCMI_gf_SendActorMessageToDoodadsInRegion("Signal WorkStop", "Void_Amon_Ground_Effect", gv_worldCleaverBaseAreas[1].lv_killZone);
gf_BlackOutTerraininRegion(gv_worldCleaverBaseAreas[1].lv_terrainDestructionRegion);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
if ((gv_cinematicCompleted == true)) {
lv_fadeDuration = 1.5;
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:10375
CameraShakeStop(gv_pLAYER_01_USER);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
ObjectiveShow(gv_objectiveDestroyZergBase5, PlayerGroupAll(), false);
ObjectiveShow(gv_objectiveDestroyZergBase, PlayerGroupAll(), false);
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:10819
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
VisRevealArea(gv_pLAYER_01_USER, RegionFromId(14), 0.0, false);
ObjectiveShow(gv_objectiveDestroyZergBase5, PlayerGroupAll(), false);
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:10375
CameraShakeStop(gv_pLAYER_01_USER);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
ObjectiveShow(gv_objectiveDestroyZergBase5, PlayerGroupAll(), false);
ObjectiveShow(gv_objectiveDestroyZergBase, PlayerGroupAll(), false);
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:10819
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_RestoreUnitSelection(gv_pLAYER_01_USER);
CameraRestore(gv_pLAYER_01_USER, 0.0, -1, 10);
VisRevealArea(gv_pLAYER_01_USER, RegionFromId(14), 0.0, false);
ObjectiveShow(gv_objectiveDestroyZergBase5, PlayerGroupAll(), false);