Skip to content

RemoveAllTargets

Realm: SERVER (supported usage).

actor:RemoveAllTargets()

Calls target removal hooks, then forcibly clears any remaining targets.

Source: lua/background_npcs_core/actor/components/sh_targets.lua.

Realm reference.