Garry's Mod Wiki

CNavArea:IsBlocked

boolean CNavArea:IsBlocked( number teamID = -2, boolean ignoreNavBlockers = false )

Description

Returns whether the nav area is blocked or not, i.e. whether it can be walked through or not.

Arguments

1 number teamID = -2
The team ID to test, -2 = any team.

Only 2 actual teams are available, 0 and 1.

2 boolean ignoreNavBlockers = false
Whether to ignore func_nav_blocker entities.

Returns

1 boolean
Whether the area is blocked or not

Page Links


Special Pages


Wikis

?

Render Time: 38ms

Session 0
DB GetPage 2
Generate Html 8
SaveChanges 14
Render Body 0
Render Sidebar 12