Func nav blocker: Difference between revisions
Jump to navigation
Jump to search
Note:The entity will NOT start to block automatically: it must first be activated with the
Warning:Enabled/disabled state does not block or unblock NAV areas. Use
Warning:Enabled/disabled state does not block or unblock NAV areas.
ThaiGrocer (talk | contribs) mNo edit summary |
ThaiGrocer (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{l4d series brush|func_nav_blocker}} It is a brush entity that can block [[NAV|nav]] areas touching its AABB used to restrict NPCs from crossing over nav areas. | ||
{{note|The entity will NOT start to block automatically: it must first be activated with the <code>BlockNav</code> input.}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
; Team to block <code><choices></code> | *;Team(s) to block <code><choices></code> | ||
: | :Team(s) this entity should block: | ||
:* Everyone | :* Everyone | ||
:* Survivors | :* Survivors | ||
:* Infected | :* Infected | ||
*;Affects Flow? <code><choices></code> | |||
:Does this func_nav_blocker block flow in the level? Only func_nav_blockers with this enabled will cause flow recomputation on blocking/unblocking. | |||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{warning|Enabled/disabled state does ''not'' block or unblock NAV areas. Use <code>BlockNav</code>/<code>UnblockNav</code>}} | {{warning|Enabled/disabled state does ''not'' block or unblock NAV areas. Use <code>BlockNav</code>/<code>UnblockNav</code>}} | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | |||
; <code>BlockNav | *;<code>BlockNav</code> | ||
: Starts blocking nav areas. Takes an optional string argument of the team to block. | :Starts blocking nav areas. Takes an optional string argument of the team to block. | ||
; <code>UnblockNav</code> | *;<code>UnblockNav</code> | ||
: Stops blocking nav areas. | :Stops blocking nav areas. | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{warning|Enabled/disabled state does ''not'' block or unblock NAV areas.}} | {{warning|Enabled/disabled state does ''not'' block or unblock NAV areas.}} | ||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | |||
==See also== | |||
==External links== |
Revision as of 18:37, 6 March 2011
Template:L4d series brush It is a brush entity that can block nav areas touching its AABB used to restrict NPCs from crossing over nav areas.

BlockNav
input.Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Team(s) to block
<choices>
- Team(s) to block
- Team(s) this entity should block:
- Everyone
- Survivors
- Infected
- Affects Flow?
<choices>
- Affects Flow?
- Does this func_nav_blocker block flow in the level? Only func_nav_blockers with this enabled will cause flow recomputation on blocking/unblocking.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).

BlockNav
/UnblockNav
Inputs
BlockNav
- Starts blocking nav areas. Takes an optional string argument of the team to block.
UnblockNav
- Stops blocking nav areas.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
