CFuncNavAttributeRegion

From Source Entities
(Redirected from Point nav attribute region)
Jump to navigation Jump to search

Code classes:

CFuncNavAttributeRegion is a code class in L4d.pngL4d2-small.png. It applies attributes to nav areas it intersects. See here for explanations of each attribute effect. Any attributes not listed here must be marked into the mesh manually.

Classnames:

  • func_nav_attribute_region - Applies attributes to areas intersecting a brush.
  • point_nav_attribute_region - Applies attributes to areas intersecting a bounding box.

Note: Applied attributes stay in the nav mesh even when this entity is deleted. To remove them, the area has to be regenerated.

Note: L4d2-small.pngfunc_nav_attribute_regions that are compiled into entity groups are converted to the entity script_nav_attribute_region.

Flags[edit | edit source]

  • 2: Empty (no wanderers)
  • 32: Battlestation
  • 64: Finale
  • 128: Mission Start (PLAYER_START)
  • 256: Battlefield
  • 1024: Not clearable (only available in L4d2-small.png)
  • 2048: Checkpoint
  • 4096: Obscured (only available in L4d2-small.png)
  • 8192: No mobs
  • 32768: Escape Vehicle (only available in L4d2-small.png)
  • 65536: Rescue Closet (only available in L4d2-small.png)
  • 524288: No Threat (only available in L4d2-small.png)
  • 1048576: Lying down (only available in L4d2-small.png)

Keyvalues[edit | edit source]

Remove Attributes (remove_attributes) <boolean> (only available in L4d2-small.png)
Makes the entity remove attributes instead of add them.
Precise (precise) <boolean> (only available in L4d2-small.png)
Applies the PRECISE attribute.
Crouch (crouch) <boolean> (only available in L4d2-small.png)
Applies the CROUCH attribute.
Stairs (stairs) <boolean> (only available in L4d2-small.png)
Applies the STAIRS attribute.
Tank Only (tank_only) <boolean> (only available in L4d2-small.png)
Applies the TANK_ONLY attribute.
Mob Only (mob_only) <boolean> (only available in L4d2-small.png)
Applies the MOB_ONLY attribute.

Inputs[edit | edit source]

ApplyNavAttributes
Applies (or removes) the attributes. Only necessary if the entity's settings were changed with AddOutput, there's another entity setting attributes on the same areas, or the entity has moved.