Func nav attribute region: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (intro; moving the warning into the main article since both games support applying attributes on a nav_generate)
Line 1: Line 1:
{{lang|Func_nav_attribute_region}}
{{lang|Func_nav_attribute_region}}
{{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.
{{l4d series brush|func_nav_attribute_region}} It holds [[List_of_L4D_Series_Nav_Mesh_Attributes|nav attributes]] to be applied on regions of overlapping nav areas when a navigation mesh has ''finished generating'' with <code>nav_generate</code>/<code>nav_generate_incremental</code>. Great for attributes necessitated by large regions of nav areas; e.g. 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.
{{tip|In {{l4d2}}, Attributes are automatically applied after this entity spawns in, which is also every new round.}}
{{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.}}


==Keyvalues==
==Keyvalues==

Revision as of 11:51, 24 August 2021

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

Template:L4d series brush 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 game ends!

Keyvalues

Flags

Inputs

Outputs

See Also