Func nav blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created bare-bones page)
 
(done, I think)
Line 1: Line 1:
{{wip}}
{{wrongtitle|title=func_nav_blocker}}
{{wrongtitle|title=func_nav_blocker}}
''This [[brush entity]] is only available in [[Left4Dead]].'' It is a brush entity that can block [[NAV]] areas touching its [[AABB]].
[[Category:Left 4 Dead Entities]]
''This [[brush entity]] is only available in [[Left4Dead]].'' It can block [[NAV]] areas touching its [[AABB]].


== Keyvalues ==
==Keyvalues==
Team to block:
; Team to block <code><choices></code>
-1 : "Everyone"
:* -1 : "Everyone"
2  : "Survivors"
:* 2  : "Survivors"
3  : "Infected"
:* 3  : "Infected"
base(Targetname, EnableDisable)
{{ScrollBox|
{{Note|This is a note}}
{{KV EnableDisable}}
{{Note|The enabled/disabled state of a func_nav_blocker does NOT block or unblock NAV areas.}}
{{KV Targetname}}
}}


Input BlockNav(string) : "Starts blocking nav areas."
==Inputs==
Input UnblockNav(void) : "Stops blocking nav areas."
{{ScrollBox|
{{I EnableDisable}}
{{Note|The enabled/disabled state of a func_nav_blocker does NOT block or unblock NAV areas.}}
{{I Targetname}}
}}
; <code>BlockNav<[[string]]></code>
: "Starts blocking nav areas. Takes an optional string argument of the team to block."
{{Note|This entity will NOT block automatically. it must first be activated by something else (like a [[logic_auto]]).}}
; <code>UnblockNav</code>
: "Stops blocking nav areas."
 
==Outputs==
* {{O Targetname}}

Revision as of 21:45, 22 July 2009

Template:Wrongtitle This brush entity is only available in Left4Dead. It can block NAV areas touching its AABB.

Keyvalues

Team to block <choices>
  • -1 : "Everyone"
  • 2  : "Survivors"
  • 3  : "Infected"
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Note.pngNote:The enabled/disabled state of a func_nav_blocker does NOT block or unblock NAV areas.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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.
Note.pngNote:The enabled/disabled state of a func_nav_blocker does NOT block or unblock NAV areas.
BlockNav<string>
"Starts blocking nav areas. Takes an optional string argument of the team to block."
Note.pngNote:This entity will NOT block automatically. it must first be activated by something else (like a logic_auto).
UnblockNav
"Stops blocking nav areas."

Outputs