Auto Remove Underwater NPCs
NPC effect addon for Garry’s Mod. Automatically removes specific NPCs if they’re created underwater.
Useful if you use random NPC spawners and the map you’re playing on has AI Nodes that cause NPCs to spawn underwater (such as some spots throughout Half Life 1’s campaign).
Features:
- a_cleanwaternpc 1 to enable auto removing NPCs.
- When one of the allowed NPCs is created, after a 2 seconds timer, their position gets checked to see if they’re completely submerged underwater or not.
- NPCs completely submerged underwater will get removed.
- NPCs covered only partially by water will not get removed.
- NPCs that are created on land and then end up moving underwater somehow will also not get removed.
- Only the following NPCs can get removed:
– npc_combine_s
– npc_metropolice
– monster_human_assassin
– npc_zombie
– npc_fastzombie
– npc_poisonzombie
– npc_zombine
– npc_citizen
Credits:
- Coffee Man: Creating this addon.