Skip to content

HasTarget

Realm: SHARED (supported usage).

actor:HasTarget(ent)

Returns whether ent occurs in the target list.

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

Realm reference.