Skip to content

RemoveTarget

Realm: SERVER (supported usage).

actor:RemoveTarget(ent, index)

Removes a target by entity or index (index takes priority); returns the remaining count.

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

Realm reference.