# Make Unit Look At Unit
Grammar — Make unit unit look at the attachPoint|Attach attach point of lookAtTargetUnit|Unit using look at type type
Flags —Action
Makes the specified unit look at the specified other unit’s attach point, using preset settings defined by the specified look at type.
# Arguments
unit
— Unitstring
<preset::LookAtType> — Typeunit
— Look At Target Unitstring
<preset::AttachPoints> — Attach Point
Returns — void
void libNtve_gf_MakeUnitLookAtUnit(
unit lp_unit,
string lp_type,
unit lp_lookAtTargetUnit,
string lp_attachPoint,
);
# Related
Category: Actor / Look At
- Look At Target From Point With Z Offset —
actor
— libNtve_gf_LookAtTargetFromPointWithZOffset - Look At Target From Unit Attach Point —
actor
— libNtve_gf_LookAtTargetFromUnitAttachPoint - Create Look At Target At Point —
void
— libNtve_gf_CreateLookAtTargetAtPoint - Create Look At Target At Unit Attach Point —
void
— libNtve_gf_CreateLookAtTargetAtUnitAttachPoint - Make Actor Look At Actor (Custom) —
void
— ActorLookAtStart - Make Actor Stop Looking (Custom) —
void
— ActorLookAtStop - Make Actor Look At Actor —
void
— ActorLookAtTypeStart - Make Actor Stop Looking —
void
— ActorLookAtTypeStop - Make Unit Look At Actor —
void
— libNtve_gf_SimpleLookAtStart - Make Unit Look At Point —
void
— libNtve_gf_MakeUnitLookAtPoint - Make Unit Look At Unit —
void
— libNtve_gf_MakeUnitLookAtUnit - Make Unit Stop Looking —
void
— libNtve_gf_SimpleLookAtStop
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3520
// Implementation
if ((gv_lookAtEnabled == true)) {
libNtve_gf_MakeUnitLookAtUnit(lp_unit, lp_type, lp_lookAtTargetUnit, lp_attachPoint);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3520
// Implementation
if ((gv_lookAtEnabled == true)) {
libNtve_gf_MakeUnitLookAtUnit(lp_unit, lp_type, lp_lookAtTargetUnit, lp_attachPoint);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:619
lib281DEC45_gf_SkipConversationLookAt();
if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00006") || (ConversationDataActiveLine() == "zSM_CharFortress|Line00016"))) {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "SlowHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:853
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Arc2", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zDebrief_Arc2", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorychar.sc2map/MapScript.galaxy:878
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Zerg Adjutant", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "InstantEyesOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Mission5", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZExpedition03MusicCutscene_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2map/MapScript.galaxy:927
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Arc2", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zDebrief_Arc2", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2map/MapScript.galaxy:952
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Zerg Adjutant", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "InstantEyesOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Mission5", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZExpedition03MusicCutscene_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2map/MapScript.galaxy:612
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Stukov");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Stukov"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Stukov"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Hybrid02", true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2map/MapScript.galaxy:613
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Stukov");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Stukov"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Stukov"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Hybrid02", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZHybrid03MusicCutscene00_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:877
TriggerExecute(gt_ConvoZagaraPre, true, false);
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Zagara", "Zagara");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zagara"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Korhal01", true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:878
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Zagara", "Zagara");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zagara"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Korhal01", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZKorhal02MusicCutscene00_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:903
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Zagara"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Zerg Adjutant", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "InstantEyesOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zSMBriefing_Korhal01", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zSMBriefing_Korhal01", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryspace.sc2map/MapScript.galaxy:508
}
if ((ConversationDataActiveLine() == "zSM_RogueQueen|Line00080")) {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryzerus.sc2map/MapScript.galaxy:581
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "SPELLANIM", "Spell Alternate End", c_animFlagFullMatch, 0.15);
Wait(1.5, c_timeGame);
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "SlowHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
Wait(0.5, c_timeGame);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "EYEANIM");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstoryzerus.sc2map/MapScript.galaxy:586
Wait(0.5, c_timeGame);
libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "SlowHeadOnly");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
}
else if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00349")) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:8592
UnitCreate(1, "ZurvanLightningBreather", c_unitCreateIgnorePlacement, gv_pLAYER_02_DOMINION222, UnitGetPosition(gv_zurvan), 270.0);
gv_zurvanLightningBreather = UnitLastCreated();
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "MedStanding", lv_helperUnit, "Ref_Overhead");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Left", gv_zurvan, "Ref_Hardpoint 03");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Right", gv_zurvan, "Ref_Hardpoint 03");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:8593
gv_zurvanLightningBreather = UnitLastCreated();
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "MedStanding", lv_helperUnit, "Ref_Overhead");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Left", gv_zurvan, "Ref_Hardpoint 03");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Right", gv_zurvan, "Ref_Hardpoint 03");
while (true) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:8594
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "MedStanding", lv_helperUnit, "Ref_Overhead");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Left", gv_zurvan, "Ref_Hardpoint 03");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Right", gv_zurvan, "Ref_Hardpoint 03");
while (true) {
lv_targetLightningRegion = RegionFromId(159);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2map — MapScript.galaxy:619
lib281DEC45_gf_SkipConversationLookAt();
if (((ConversationDataActiveLine() == "zSM_CharFortress|Line00006") || (ConversationDataActiveLine() == "zSM_CharFortress|Line00016"))) {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "SlowHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2map — MapScript.galaxy:853
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Arc2", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zDebrief_Arc2", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorychar.sc2map — MapScript.galaxy:878
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Zerg Adjutant", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "InstantEyesOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Mission5", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZExpedition03MusicCutscene_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2map — MapScript.galaxy:927
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Arc2", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zDebrief_Arc2", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryexpedition.sc2map — MapScript.galaxy:952
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Zerg Adjutant", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "InstantEyesOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Mission5", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZExpedition03MusicCutscene_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2map — MapScript.galaxy:612
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Primal Advisor"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Stukov");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Stukov"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Stukov"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Hybrid02", true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryhybrid.sc2map — MapScript.galaxy:613
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Kerrigan", "Stukov");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Stukov"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Stukov"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Hybrid02", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZHybrid03MusicCutscene00_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:877
TriggerExecute(gt_ConvoZagaraPre, true, false);
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Zagara", "Zagara");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zagara"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Korhal01", true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:878
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Zagara", "Zagara");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zagara"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zDebrief_Korhal01", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "ZKorhal02MusicCutscene00_PreMission", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:903
lib281DEC45_gf_ShowHideUnitAbs(false, lib281DEC45_gf_CharacterUnit("Zagara"));
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_Medium, "Zerg Adjutant", "Zerg Adjutant");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "InstantEyesOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zSMBriefing_Korhal01", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zSMBriefing_Korhal01", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryspace.sc2map — MapScript.galaxy:508
}
if ((ConversationDataActiveLine() == "zSM_RogueQueen|Line00080")) {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Zagara"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryzerus.sc2map — MapScript.galaxy:581
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "SPELLANIM", "Spell Alternate End", c_animFlagFullMatch, 0.15);
Wait(1.5, c_timeGame);
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "SlowHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
Wait(0.5, c_timeGame);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "EYEANIM");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstoryzerus.sc2map — MapScript.galaxy:586
Wait(0.5, c_timeGame);
libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit("Kerrigan"), "SlowHeadOnly");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Zerg Adjutant"), "Ref_Head");
}
else if ((ConversationDataActiveLine() == "zSM_ZergAdjutant|Line00349")) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:8592
UnitCreate(1, "ZurvanLightningBreather", c_unitCreateIgnorePlacement, gv_pLAYER_02_DOMINION222, UnitGetPosition(gv_zurvan), 270.0);
gv_zurvanLightningBreather = UnitLastCreated();
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "MedStanding", lv_helperUnit, "Ref_Overhead");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Left", gv_zurvan, "Ref_Hardpoint 03");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Right", gv_zurvan, "Ref_Hardpoint 03");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:8593
gv_zurvanLightningBreather = UnitLastCreated();
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "MedStanding", lv_helperUnit, "Ref_Overhead");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Left", gv_zurvan, "Ref_Hardpoint 03");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Right", gv_zurvan, "Ref_Hardpoint 03");
while (true) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2map — MapScript.galaxy:8594
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "MedStanding", lv_helperUnit, "Ref_Overhead");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Left", gv_zurvan, "Ref_Hardpoint 03");
libNtve_gf_MakeUnitLookAtUnit(gv_zurvan, "Turret_Right", gv_zurvan, "Ref_Hardpoint 03");
while (true) {
lv_targetLightningRegion = RegionFromId(159);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4151
libNtve_gf_SimpleLookAtStop(lib281DEC45_gf_CharacterUnit(lp_lookingCharacter), "InstantEyesOnly");
if ((lp_lookingCharacter == "Zerg Adjutant")) {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit(lp_lookingCharacter), "InstantEyesOnly", lib281DEC45_gf_CharacterUnit(lv_targetCharacter), "Ref_Head");
}
else if ((lv_targetCharacter == "Evolution Master")) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4154
}
else if ((lv_targetCharacter == "Evolution Master")) {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit(lp_lookingCharacter), "InstantHeadOnlySubtle", lib281DEC45_gf_CharacterUnit(lv_targetCharacter), "Ref_Head");
}
else if (true) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4157
}
else if (true) {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit(lp_lookingCharacter), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit(lv_targetCharacter), "Ref_Head");
}
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4228
}
else {
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "Turret_Left", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Hardpoint");
}
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:12317
lib281DEC45_gf_ApplyCutsceneCameraFull(lib281DEC45_ge_CameraType_OverShoulder, "Evolution Master", "Evolution Master");
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Evolution Master")), c_animNameDefault, "Birth", 0, 0.0);
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Evolution Master"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Evolution Master"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zScripted_EvoMissionsUnlock", true);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:12318
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Evolution Master")), c_animNameDefault, "Birth", 0, 0.0);
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Evolution Master"), "InstantHeadOnly", lib281DEC45_gf_CharacterUnit("Kerrigan"), "Ref_Head");
libNtve_gf_MakeUnitLookAtUnit(lib281DEC45_gf_CharacterUnit("Kerrigan"), "InstantHeadOnlySubtle", lib281DEC45_gf_CharacterUnit("Evolution Master"), "Ref_Head");
lib281DEC45_gf_PreloadScriptedConversation("zScripted_EvoMissionsUnlock", true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "zScripted_EvoMissionsUnlock", c_soundtrackCueAny, c_soundtrackIndexAny, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:6474
}
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
while ((UnitIsAlive(EventUnitTargetUnit()) == true) && (EventUnitTargetUnit() == OrderGetTargetUnit(UnitOrder(gv_narud, 0)))) {
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) >= lv_clampLeft) && (AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clamRight)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:6479
if ((lv_lookingAtTarget == false)) {
lv_lookingAtTarget = true;
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:6474
}
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
while ((UnitIsAlive(EventUnitTargetUnit()) == true) && (EventUnitTargetUnit() == OrderGetTargetUnit(UnitOrder(gv_narud, 0)))) {
if ((AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) >= lv_clampLeft) && (AngleBetweenPoints(EventUnitTargetPoint(), UnitGetPosition(EventUnit())) <= lv_clamRight)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:6479
if ((lv_lookingAtTarget == false)) {
lv_lookingAtTarget = true;
libNtve_gf_MakeUnitLookAtUnit(gv_narud, "SlowStanding", EventUnitTargetUnit(), "Ref_Center");
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8262
Wait(1.5, c_timeGame);
libCore_gf_SendTransmissionCampaign(libStEx_gv_hERO_FriendlyUther, "TutorialVO|Line00621", c_transmissionDurationAdd, 0.0, false, libCore_ge_TransmissionPortraitOptioins_DontShowPortrait, libCore_ge_TransmissionCueSoundOptions_DefaultCueSoundBehavior);
libNtve_gf_MakeUnitLookAtUnit(libStEx_gv_hERO_PlayerUnit, "SlowStanding", libStEx_gv_hERO_FriendlyUther, "Ref_Head");
Wait(2.0, c_timeGame);
libNtve_gf_SimpleLookAtStop(libStEx_gv_hERO_FriendlyUther, "FastStanding");
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8262
Wait(1.5, c_timeGame);
libCore_gf_SendTransmissionCampaign(libStEx_gv_hERO_FriendlyUther, "TutorialVO|Line00621", c_transmissionDurationAdd, 0.0, false, libCore_ge_TransmissionPortraitOptioins_DontShowPortrait, libCore_ge_TransmissionCueSoundOptions_DefaultCueSoundBehavior);
libNtve_gf_MakeUnitLookAtUnit(libStEx_gv_hERO_PlayerUnit, "SlowStanding", libStEx_gv_hERO_FriendlyUther, "Ref_Head");
Wait(2.0, c_timeGame);
libNtve_gf_SimpleLookAtStop(libStEx_gv_hERO_FriendlyUther, "FastStanding");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:16350
Wait(0.125, c_timeGame);
libNtve_gf_MakeUnitLookAtUnit(lv_medic, "RobotArmsOnly", lv_target, "Ref_Center");
while (!((UnitBehaviorCount(lv_medic, "MedicCastingHealingBeamBuff") == 0))) {
Wait(0.0625, c_timeGame);