Func nav attribute region: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added info about the entity in L4D.)
(reworked the introduction to not be too long-winded; added {{confirm}} tag since the most recent edit suggests there's been misinformation here)
Line 1: Line 1:
{{lang|Func_nav_attribute_region}}
{{lang|Func_nav_attribute_region}}
{{l4d series brush|func_nav_attribute_region}} It holds attributes, including ones inaccessible while Navigation Mesh editing, to be applied to regions of nav areas covered by it. All attributes are automatically applied once after this entity spawns in every new round.
{{l4d series brush|func_nav_attribute_region}} It holds [[List_of_L4D_Series_Nav_Mesh_Attributes|nav attributes]] that's to be applied to regions of nav areas that it overlaps. All attributes are automatically applied after this entity spawns in every new round.{{confirm}}


This is very helpful in eliminating tedious navigation mesh editing work, especially applying attributes that require a mass amount of nav areas to contain it, like the<code>FINALE</code>attribute.
This can lighten nav editing workload, mostly in applying attributes to large regions of nav areas. e.g. The<code>FINALE</code>attribute.
{{note|Attributes set will persists when a game ends!}}
{{note|Attributes set will persists when a game ends!}}
 
{{warning|In {{l4d}}, Attributes will only be applied when generating a navigation mesh, not on spawn.}}{{confirm|Verify this in {{l4d2}}}}
{{bug|{{l4d}} The attributes will only be applied when generating a NAV mesh, they won't apply when the brush is spawned in game or when using the ApplyNAVAttributes input.}}
 


==Keyvalues==
==Keyvalues==

Revision as of 03:45, 12 August 2021

English (en)中文 (zh)Translate (Translate)

Template:L4d series brush It holds nav attributes that's to be applied to regions of nav areas that it overlaps. All attributes are automatically applied after this entity spawns in every new round.[confirm]

This can lighten nav editing workload, mostly in applying attributes to large regions of nav areas. e.g. TheFINALEattribute.

Note.pngNote:Attributes set will persists when a game ends!
Warning.pngWarning:In Left 4 Dead, Attributes will only be applied when generating a navigation mesh, not on spawn.
Confirm:Verify this in Left 4 Dead 2

Keyvalues

Flags

Inputs

Outputs

See Also