CFuncNavAttributeRegion
Jump to navigation
Jump to search
Code classes:
CFuncNavAttributeRegion
CBaseEntity
(all ents)
CFuncNavAttributeRegion
is a code class in . 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: func_nav_attribute_region
s 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
- 2048: Checkpoint
- 8192: No mobs
Keyvalues[edit | edit source]
- Remove Attributes
(remove_attributes)
<boolean>
(only available in ) - Makes the entity remove attributes instead of add them.
- Precise
(precise)
<boolean>
(only available in ) - Applies the
PRECISE
attribute. - Crouch
(crouch)
<boolean>
(only available in ) - Applies the
CROUCH
attribute. - Stairs
(stairs)
<boolean>
(only available in ) - Applies the
STAIRS
attribute. - Tank Only
(tank_only)
<boolean>
(only available in ) - Applies the
TANK_ONLY
attribute. - Mob Only
(mob_only)
<boolean>
(only available in ) - 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.