# Make Actor Stop Looking

Grammar — Clear look at target for actor using look at type type
FlagsNative | Action

Clears the look at target for the specified actor, using preset settings defined by the specified look at type.

# Arguments

  • actor — Actor
  • string<preset::LookAtType> — Type

Returns — void

native void ActorLookAtTypeStop(actor s, string type);

Category: Actor / Look At

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:1234

    // Automatic Variable Declarations
    // Implementation
    ActorLookAtTypeStop(libNtve_gf_MainActorofUnit(lp_unit), lp_type);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1130

    // Automatic Variable Declarations
    // Implementation
    ActorLookAtTypeStop(libNtve_gf_MainActorofUnit(lp_unit), lp_type);
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:16673

    }

    ActorLookAtTypeStop(libNtve_gf_MainActorofUnit(lv_dehaka), "SlowHeadOnly");
    return true;
}