This article's documentation is for anything that uses the Source engine. Click here for more information.

Entity blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{stub}} {{Ent not in fgd}} {{this is a|point entity|name=entity_blocker}} This is spawned in temporarily to prevent NPCs from pathfinding into spaces like spawn points or mov...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{stub}}
{{stub}}
{{Ent not in fgd}}
{{Ent not in fgd|nolink=1}}
{{this is a|point entity|name=entity_blocker}} This is spawned in temporarily to prevent NPCs from pathfinding into spaces like spawn points or movement targets. It's an invisible box solid to certain other objects. Some entities create this automatically in order to keep a certain area clear of things that could block their movement. The entity can be replaced by a simple clip brush. It does not have any unique I/O or properties with spawnflags.
{{CD|CEntityBlocker|file1=1}}
{{this is a|point entity|name=entity_blocker}} This is spawned in temporarily to prevent NPCs from pathfinding into spaces like spawn points or movement targets. It's an invisible box solid to certain other objects. Some entities create this automatically in order to keep a certain area clear of things that could block their movement.
 
== Commands ==
{{varcom|start}}
{{varcom|test_entity_blocker||void|Test command that drops an entity blocker out in front of the player.}}
{{varcom|end}}

Latest revision as of 17:47, 24 May 2025

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CEntityBlocker
CBaseEntity
C++ entityblocker.cpp

entity_blocker is a point entity available in all Source Source games. This is spawned in temporarily to prevent NPCs from pathfinding into spaces like spawn points or movement targets. It's an invisible box solid to certain other objects. Some entities create this automatically in order to keep a certain area clear of things that could block their movement.

Commands

Cvar/Command Parameters or default value Descriptor Effect
test_entity_blocker void Test command that drops an entity blocker out in front of the player.