func_nav_attribute_region

From Valve Developer Community
Jump to: navigation, search
English (en)中文 (zh)Translate (Translate)
Class hierarchy
CFuncNavAttributeRegion
CBaseEntity
Toolstrigger.gif

func_nav_attribute_region is a brush entity available in Left 4 Dead series Left 4 Dead series. It holds nav attributes to be applied on regions of overlapping nav areas when a navigation mesh has finished generating with nav_generate/nav_generate_incremental. Great for attributes necessitated by large regions of nav areas; e.g. TheFINALEattribute.

Tip.pngTip:In Left 4 Dead 2, Attributes are automatically applied after this entity spawns in, which is also every new round.
Note.pngNote:Attributes set will persists when a round ends!


Keyvalues

Name (targetname) <string>
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

Precise (precise) <choices> (only in Left 4 Dead 2)
Crouch (crouch) <choices> (only in Left 4 Dead 2)
Stairs (stairs) <choices> (only in Left 4 Dead 2)
Tank Only (tank_only) <choices> (only in Left 4 Dead 2)
Mob Only (mob_only) <choices> (only in Left 4 Dead 2)
If either of the above 5 are enabled, their respective nav attributes will also be applied.
  • 0 : Off
  • 1 : On
Remove Attributes (remove_attributes) <integer> (only in Left 4 Dead 2)
Remove attributes from nav areas instead of applying them.

Inputs

ApplyNavAttributes
Reapply, or remove if the keyvalue was set, the nav attributes for nav meshes covered by its volume.
Icon-Bug.pngBug:Doesn't work in Left 4 Dead Left 4 Dead  [todo tested in?]

Flags

EMPTY : [2]
STOP_SCAN : [4] !FGD
BATTLESTATION : [32]
FINALE : [64]
PLAYER_START (Mission start) : [128]
BATTLEFIELD : [256]
NOT_CLEARABLE : [1024]
CHECKPOINT : [2048]
OBSCURED : [4096] !FGD
(Left 4 Dead) NO_MOBS : [8192]
THREAT : [16384] !FGD
RESCUE_VEHICLE : [32768] !FGD
(Left 4 Dead) RESCUE_CLOSET : [65536] !FGD
(Left 4 Dead) NOTHREAT : [524288] (only in Left 4 Dead 2)
LYINGDOWN : [1048576] (only in Left 4 Dead 2)

Note.pngNote:In Left 4 Dead 2, these values are also usable with the spawn attribute methods found in theTerrorNavAreaVScript class.

See also