Point nav attribute region: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(other kio)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{L4d2 point|point_nav_attribute_region}} It is a point entity that holds attributes to be applied to regions of nav areas during generation.
{{CD|CFuncNavAttributeRegion}}
{{this is a|point entity|name=point_nav_attribute_region|game=Left 4 Dead 2}} The point entity version of {{ent|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 [[L4D2_EMS/Appendix:_Entity_Groups|Entity Group]] scripts by Valve (especially Holdout), but is now less relevant since {{ent|script_nav_attribute_region}} now exists after The Last Stand update.
 
{{note|Attributes set will persists when a round ends!}}


== Keyvalues ==
== Keyvalues ==
[[File:Point.nav.attrib.region.main.jpg|right|200px|thumb|Class Info Tab]]
{{KV|Mins|intn=mins|vector}}
{{KV|Mins|vector|x y z values of the "starting" bounding box around entity center}}
{{KV|Maxs|intn=maxs|vector|An outlined box is displayed in Hammer when Mins/Maxs are specified.}}
{{KV|Maxs|vector|x y z values for the "far end" bounding box}}
{{KV Targetname}}
{{KV NavAttributeRegion}}


== Flags ==
[[File:Point.nav.attrib.region.flags.jpg|right|200px|thumb|Flags]]
{{Fl NavAttributeRegion}}


== Inputs ==
{{OtherKIO|func_nav_attribute_region}}
{{IO|ApplyNavAttributes|{{confirm|Applies the attributes?}}}}
{{I Targetname}}


== Outputs ==
==See also==
{{O Targetname}}
* [[Navigation Mesh Attributes (L4D)]]
* [[Navigation Meshes (L4D)]]
* {{ent|func_nav_attribute_region}}
* {{ent|script_nav_attribute_region}}

Latest revision as of 02:09, 4 August 2024

C++ Class hierarchy
CFuncNavAttributeRegion
CBaseEntity

point_nav_attribute_region is a point entity available in Left 4 Dead 2 Left 4 Dead 2. 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!

Keyvalues

Mins (mins) <vector>
Maxs (maxs) <vector>
An outlined box is displayed in Hammer when Mins/Maxs are specified.


Note.pngNote:Other Keyvalues / Inputs / Outputs are same as func_nav_attribute_region.

See also