RemoveEnemy¶
Realm: SERVER (supported usage).
actor:RemoveEnemy(ent, index)
Removes by entity or index (index takes priority); hooks can reject removal. Returns remaining count.
Source: lua/background_npcs_core/actor/components/sh_enemies.lua.
Realm: SERVER (supported usage).
actor:RemoveEnemy(ent, index)
Removes by entity or index (index takes priority); hooks can reject removal. Returns remaining count.
Source: lua/background_npcs_core/actor/components/sh_enemies.lua.