info_zombie_border

From Valve Developer Community
Jump to: navigation, search
class hierarchy
CZombieBorder
CServerOnlyPointEntity
CServerOnlyEntity
CBaseEntity

info_zombie_border is a point entity available in Left 4 Dead 2 Left 4 Dead 2. It prevents any A.I. controlled infected to spawn behind it. If infected already exists before its spawned or re-enabled, the infected will discard themselves through deletion or suicide. The criteria to be behind this entity is only by position, so Line of Sight is not required.

This is an aggressive way to prevent infected spawning, use with caution.

Keyvalues


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

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.

Inputs

Enable
Disable
Enable/Disable this entity from blocking spawns

Uses in official maps

The following maps use info_zombie_border.

c3m1_plankcountry
  • Named asno_zombies_east_river. Placed at where the ferry stops at after when the survivors start it, with its back facing the other side of the river.
    • Receives aDisableinput when the ferry is started, allowing infected to spawn at the other side again.

See also