Entity blocker: Difference between revisions
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
![]() |
---|
CEntityBlocker |
![]() |
entity_blocker
is a point entity available in all 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. |