Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...