Script nav attribute region: Difference between revisions
Jump to navigation
Jump to search
Note:Attributes set will persists when a round ends!
m (description altered, note about attributes persisting) |
m ('func_nav_attribute_region' applies attributes automatically) |
||
Line 1: | Line 1: | ||
{{Ent not in fgd|nolink=1|because=[[func_nav_attribute_region]] already exists as a more accessible option}} | {{Ent not in fgd|nolink=1|because=[[func_nav_attribute_region]] already exists as a more accessible option}} | ||
{{L4d2 point|script_nav_attribute_region}} Its the [[func_nav_attribute_region]] brush entity | {{L4d2 point|script_nav_attribute_region}} Its the [[func_nav_attribute_region]] brush entity but just retinkered for VScripts. Applies nav attributes to overlapping nav areas when it spawns in or nav is being generated, just like its brush entity version. | ||
In | In [[L4D2_EMS/Appendix:_Entity_Groups|Entity Group]] scripts by Valve (especially Holdout), [[point_nav_attribute_region]] is seen used in place of script_nav_attribute_region, but its only because this entity didn't exist before The Last Stand update, so its not strange to use this entity. | ||
When [[L4D2_EMS/ConfigureHammerForEntityGroupCompilation|compiling Entity Groups]], func_nav_attribute_region entities are converted to script_nav_attribute_region. | When [[L4D2_EMS/ConfigureHammerForEntityGroupCompilation|compiling Entity Groups]], func_nav_attribute_region entities are converted to script_nav_attribute_region. | ||
{{note|Attributes set will persists when a round ends!}} | |||
== Keyvalues == | == Keyvalues == |
Revision as of 12:58, 24 August 2021

This entity is not in the FGD by default.
It should not be put directly in a map because func_nav_attribute_region already exists as a more accessible option.
It should not be put directly in a map because func_nav_attribute_region already exists as a more accessible option.
Template:L4d2 point Its the func_nav_attribute_region brush entity but just retinkered for VScripts. Applies nav attributes to overlapping nav areas when it spawns in or nav is being generated, just like its brush entity version.
In Entity Group scripts by Valve (especially Holdout), point_nav_attribute_region is seen used in place of script_nav_attribute_region, but its only because this entity didn't exist before The Last Stand update, so its not strange to use this entity.
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
andmaxs 100 100 100
would be equivalent toextent 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