# Make Actor Stop Looking (Custom)
Grammar — Clear look at target for source using custom values (type: type, weight: weight, time: time)
Flags —Native
|Action
Clears the look at target for the specified actor. The parameters of this action allow you more control over the look at than “Make Actor Stop Looking”.
# Arguments
actor
— Sourcestring
<preset::LookAtGroup> — Typeint
— Weightfixed
— Time
Returns — void
native void ActorLookAtStop(
actor s,
string lookAt,
int weight,
fixed time,
);
# 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/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:12024
}
else if ((ConversationDataActiveLine() == "zSM_EvolutionMaster|Line00262")) {
ActorLookAtStop(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), "Head", 100, 0.7);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lib281DEC45_gf_CharacterUnit("Kerrigan")), lib281DEC45_gv_zSS_CONVANIMID, "Stand Turn Cover Start", c_animFlagPlayForever, c_animTimeDefault);
Wait(1.2, c_timeGame);