# 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.sc2mod

NativeLib.galaxy

// L1234
ActorLookAtTypeStop(libNtve_gf_MainActorofUnit(lp_unit), lp_type)
// L1130
ActorLookAtTypeStop(libNtve_gf_MainActorofUnit(lp_unit), lp_type)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L16637
ActorLookAtTypeStop(libNtve_gf_MainActorofUnit(lv_dehaka), "SlowHeadOnly")