Func nav blocker: Difference between revisions
Jump to navigation
Jump to search
Warning:Enabled/disabled state does not block or unblock NAV areas. Use
Warning:Enabled/disabled state does not block or unblock NAV areas.
m (moved the note) |
TomEdwards (talk | contribs) (no point in having scrollboxes if the section is too short to scroll! Other cleanup too) |
||
Line 1: | Line 1: | ||
{{ | {{L4d brush|func_nav_blocker}} It blocks [[NAV]] areas touching its volume, preventing NPCs from crossing them. | ||
It will NOT block automatically: it must first be activated with the <code>BlockNav</code> input. | |||
It | |||
==Keyvalues== | ==Keyvalues== | ||
; Team to block <code><choices></code> | ; Team to block <code><choices></code> | ||
:* | : For obvious reasons, only AI infected/survivors are affected! | ||
:* | :* Everyone | ||
:* | :* Survivors | ||
:* Infected | |||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{ | {{warning|Enabled/disabled state does ''not'' block or unblock NAV areas. Use <code>BlockNav</code>/<code>UnblockNav</code>}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
==Inputs== | ==Inputs== | ||
; <code>BlockNav <[[string]]></code> | |||
: Starts blocking nav areas. Takes an optional string argument of the team to block. | |||
; <code>UnblockNav</code> | |||
: Stops blocking nav areas. | |||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{ | {{warning|Enabled/disabled state does ''not'' block or unblock NAV areas.}} | ||
{{I Targetname}} | {{I Targetname}} | ||
==Outputs== | ==Outputs== | ||
{{O Targetname}} |
Revision as of 01:59, 23 July 2009
Template:L4d brush It blocks NAV areas touching its volume, preventing NPCs from crossing them.
It will NOT block automatically: it must first be activated with the BlockNav
input.
Keyvalues
- Team to block
<choices>
- For obvious reasons, only AI infected/survivors are affected!
- Everyone
- Survivors
- Infected
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).

BlockNav
/UnblockNav
- 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
Inputs
BlockNav <string>
- 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.
