func_nav_attribute_region
class hierarchy |
---|
CFuncNavAttributeRegion |
func_nav_attribute_region
is a brush entity available in the 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. TheFINALE
attribute.
Tip:In , Attributes are automatically applied after this entity spawns in, which is also every new round.
Note:Attributes set will persists when a round ends!
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
NavAttributeRegion:
- Mob Only
(mob_only)
<choices> (only in ) - 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 ) - Remove attributes from nav areas instead of applying them.
Inputs
NavAttributeRegion:
ApplyNavAttributes
- Reapply, or remove if the keyvalue was set, the nav attributes for nav meshes covered by its volume. Bug:Doesn't work in Left 4 Dead
Flags
Effects of these attributes are found at the List of L4D Series Nav Mesh Attributes page.
NavAttributeRegion:
- [
2
] :EMPTY
- [
4
] :STOP_SCAN
!FGD
- [
32
] :BATTLESTATION
- [
64
] :FINALE
- [
128
] :PLAYER_START
(Mission start)
- [
256
] :BATTLEFIELD
- [
1024
] :NOT_CLEARABLE
- [
2048
] :CHECKPOINT
- [
4096
] :OBSCURED
!FGD ()
- [
8192
] :NO_MOBS
- [
16384
] :THREAT
!FGD
- [
32768
] :RESCUE_VEHICLE
!FGD ()
- [
65536
] :RESCUE_CLOSET
!FGD ()
Note:In , these values are also usable with the spawn attribute methods found in the
TerrorNavArea
VScript class.