env_physics_blocker

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CEnvPhysicsBlocker
CBaseEntity

env_physics_blocker is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It blocks players and physics objects.

Keyvalues

Mins (boxmins) <vector>
Maxs (boxmaxs) <vector>
Used when angles are other value than 0 0 0.
Icon-Bug.pngBug:non zero angles cause physics object to always be blocked by this entity
Mins (mins) <vector>
Maxs (maxs) <vector>
Used when angles are 0 0 0


Initial State (initialstate) <choices>
Initial state of the blocker
  • 0 : Disabled
  • 1 : Enabled
Blocks (BlockType) <choices>
What should be blocked
Value Description
0 Everyone
1 Survivors
2 Player Infected
3 All Special Infected (Player and AI)
4 All players and physics objects

Angles:
Pitch Yaw Roll (Y Z X) (angles) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

Enable
Enables the Blocker
Disable
Disables the Blocker

See also