Skip to content

PaintedRegionData

16.15

Class Documentation

Edit documentation

A painted region: a list of nav cells with a tag for each cell, for one tag group. It is the data of a PaintedRegionGeComponentDef. Unlike a nav region, it has no outline: each cell is listed.

When the entity spawns, the client registers the painted region with the region manager, with the priority of its component. Activating the entity turns the region on, and deactivating it turns the region off. In each listed cell, the painted region writes the cell's tag into the group RegionGroupIndex if its priority is not lower than the priority of the other regions in that cell. NavRegionDef describes the tag groups.

Properties

RegionGroupIndex

U32 = 1
Edit documentation

The tag group that the painted region writes, from 0 to 9.

Referenced by 1 class · 1 property