Info zombie border: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (a little tweak in grammar and styff)
(based on feedback from a reader, I changed the description's phrasing)
Line 1: Line 1:
{{l4d2 point|info_zombie_border}} Any infected, aside from to-be Player Controlled ones, will not be allowed to spawn or be discarded so long they are behind this entity. Line of sight is not a necessary concern for this entity, but only if an infected's origin would be considered as located behind this entity.
{{l4d2 point|info_zombie_border}} It prevents any infected of any kind to spawn behind it, so long they're not Player Controlled ones, and are actually A.I. controlled. If infected happens to be behind of it before it spawns in, or before its re-enabled, the infected will discard themselves by either deleting themselves or suiciding. Line of sight is not a necessary concern for this entity, but only if an infected's position would be considered as located behind this entity.


Before using this, it might be wise to consult if using [[func_nav_blocker]] to block out the only way to a preceding undesired path out entirely, or applying attributes capable of infected spawning manipulation (like<code>OBSCURED</code>or<code>NO_MOBS</code>attributes) with [[func_nav_attribute_region]], is what you need.
Before using this, it might be wise to consult other alternative options are instead more efficient options first. Like if using [[func_nav_blocker]] to block out the only way to an undesired path out entirely, or applying attributes capable of manipulating infected spawning (like<code>OBSCURED</code>or<code>NO_MOBS</code>attributes) with [[func_nav_attribute_region]].


== Keyvalues ==
== Keyvalues ==

Revision as of 15:53, 21 April 2021

Template:L4d2 point It prevents any infected of any kind to spawn behind it, so long they're not Player Controlled ones, and are actually A.I. controlled. If infected happens to be behind of it before it spawns in, or before its re-enabled, the infected will discard themselves by either deleting themselves or suiciding. Line of sight is not a necessary concern for this entity, but only if an infected's position would be considered as located behind this entity.

Before using this, it might be wise to consult other alternative options are instead more efficient options first. Like if using func_nav_blocker to block out the only way to an undesired path out entirely, or applying attributes capable of manipulating infected spawning (likeOBSCUREDorNO_MOBSattributes) with func_nav_attribute_region.

Keyvalues

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

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.