Func nav blocker: Difference between revisions
Jump to navigation
Jump to search
Note:This entity will NOT block automatically. it must first be activated (via the
Note:The enabled/disabled state of a func_nav_blocker does NOT block or unblock NAV areas.
Note:The enabled/disabled state of a func_nav_blocker does NOT block or unblock NAV areas.
(done, I think) |
m (moved the note) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=func_nav_blocker}} | {{wrongtitle|title=func_nav_blocker}} | ||
[[Category:Left 4 Dead Entities]] | [[Category:Left 4 Dead Entities]] | ||
''This [[brush entity]] is only available in [[Left4Dead]].'' It can block [[NAV]] areas touching its [[AABB]]. | ''This [[brush entity]] is only available in [[Left4Dead]].'' | ||
It can block [[NAV]] areas touching its [[AABB]]. | |||
{{Note|This entity will NOT block automatically. it must first be activated (via the <code>BlockNav</code> input) by something else (like a [[logic_auto]]).}} | |||
==Keyvalues== | ==Keyvalues== | ||
Line 22: | Line 24: | ||
; <code>BlockNav<[[string]]></code> | ; <code>BlockNav<[[string]]></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." |
Revision as of 21:47, 22 July 2009
Template:Wrongtitle This brush entity is only available in Left4Dead. It can block NAV areas touching its AABB.

BlockNav
input) by something else (like a logic_auto).Keyvalues
- Team to block
<choices>
-
- -1 : "Everyone"
- 2 : "Survivors"
- 3 : "Infected"
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).

- 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
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.

BlockNav<string>
- "Starts blocking nav areas. Takes an optional string argument of the team to block."
UnblockNav
- "Stops blocking nav areas."