Closed T-Rizzle12 closed 1 year ago
Added missing enum for NAV_MESH_BLOCKED_PROPDOOR
Added navmesh.GetBlockedAreas()
Added CNavArea:MarkAsBlocked( teamID )
Added CNavArea:MarkAsUnblocked( teamID )
Added CNavArea:RemoveAttributes( flags )
Added CNavArea:AddAttributes( flags )
Disable default automatic navmesh unblocking
Details
I have noticed that there is no lua binding to marking a CNavArea as block. Adding said binding will make it so addon creators don't have to override the CNavArea::IsBlocked or disconnect CNavAreas during gameplay, "which also destroys visibility data and encounter spots."