Point nav attribute region: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(other kio)
 
(10 intermediate revisions by 6 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.


==Keyvalues==
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.
[[File:Point.nav.attrib.region.main.jpg|right|200px|thumb|Class Info Tab]]
{{KV Targetname|targetname}}
*;Precise <code><choices></code>
:Off or On
*;Crouch <code><choices></code>
:Off or On
*;Mins <code><[[vector]]></code>
:x y z values of the "starting" bounding box around entity center
*;Maxs <code><[[vector]]></code>
:x y z values for the "far end" bounding box


== Flags ==
{{note|Attributes set will persists when a round ends!}}
[[File:Point.nav.attrib.region.flags.jpg|right|200px|thumb|Flags]]
*Empty (no wanderers)
*Battlestation
*Finale
*Mission Start
*Battlefield
*Not Clearable
*Checkpoint
*Obscured
*No mobs
*Rescue Vehicle
*Rescue Closet
*No Threat
*Lying down


==Inputs==
== Keyvalues ==
{{I Targetname}}
{{KV|Mins|intn=mins|vector}}
{{KV|Maxs|intn=maxs|vector|An outlined box is displayed in Hammer when Mins/Maxs are specified.}}


==Outputs==
 
{{O Targetname}}
{{OtherKIO|func_nav_attribute_region}}


==See also==
==See also==
==External links==
* [[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