Point nav attribute region: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (note about attributes persisting)
m ('func_nav_attribute_region' applies attributes automatically)
Line 1: Line 1:
{{L4d2 point|point_nav_attribute_region}} The point entity version of [[func_nav_attribute_region]]. Like its brush entity version, it holds nav attributes to be applied to regions of nav areas in its volume, which is automatic on every new round start. There isn't much of any reason to use this over the brush entity, other than personal preferences though.
{{L4d2 point|point_nav_attribute_region}} The point entity version of [[func_nav_attribute_region]]. Like its brush entity version, it applies nav attributes to overlapping nav areas when it spawns in or the nav is being generated.


In a scripting context, this entity may be seen in various [[L4D2_EMS/Appendix:_Entity_Groups|Entity Group]] scripts by Valve (especially Holdout), but is not as relevant anymore since [[script_nav_attribute_region]] now exists after The Last Stand update.
In VScripting, this entity may be seen in [[L4D2_EMS/Appendix:_Entity_Groups|Entity Group]] scripts by Valve (especially Holdout), but is now less relevant since [[script_nav_attribute_region]] now exists after The Last Stand update.
{{note|If you are spawning this entity through scripts, reminder it won't exist on every new round start, so the attributes must be applied manually.}}
{{note|Attributes set will persists when a game ends!}}


{{note|Attributes set will persists when a round ends!}}
[[File:Point.nav.attrib.region.main.jpg|right|200px|thumb|Class Info Tab]]
[[File:Point.nav.attrib.region.main.jpg|right|200px|thumb|Class Info Tab]]



Revision as of 12:58, 24 August 2021

Template:L4d2 point The point entity version of func_nav_attribute_region. Like its brush entity version, it applies nav attributes to overlapping nav areas when it spawns in or the nav is being generated.

In VScripting, this entity may be seen in Entity Group scripts by Valve (especially Holdout), but is now less relevant since script_nav_attribute_region now exists after The Last Stand update.

Note.pngNote:Attributes set will persists when a round ends!
Class Info Tab

Keyvalues

Flags

Flags


Inputs

Outputs

See Also