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
(-added class hierarchy)
No edit summary
 
Line 3: Line 3:
{{CD|CEntityBlocker|file1=1}}
{{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.
{{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.