Script nav attribute region

From Valve Developer Community
Revision as of 16:50, 31 March 2021 by Orinuse (talk | contribs) (page created for this script entity, added @ TLS update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because script_nav_attribute_region already exists as a more accessible option.

Template:L4d2 point Its the func_nav_attribute_region brush entity, just retinkered for VScripts. Applies nav attributes to nav areas in its volume, just like its brush entity version.

In various Entity Group scripts by Valve (especially Holdout), point_nav_attribute_region may be seen used in place of script_nav_attribute_region, but that is only because this entity didn't exist before The Last Stand update.

Note.pngNote: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.

When compiling Entity Groups, func_nav_attribute_region entities are converted to script_nav_attribute_region.

Keyvalues

Bounding Box Extents (extent) <vector>
Controls the size of the bounding box. If mins/maxs were usable here instead then mins -100 -100 -100 and maxs 100 100 100 would be equivalent to extent 100 100 100.
See also:  Image at bounding box page

Origin (origin) <vector>
Center of the bounding box specified by the extent
Angles (angles) <vector>
Angles of the bounding box specified by the extent


Flags

Inputs

Outputs

See Also