CNavArea/IsBlocked

From Garry's Mod
Jump to: navigation, search
 CNavArea:IsBlocked( )

Contents

Description

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

Arguments

number teamID=-2

The team ID to test, -2 = any team.

Only 2 actual teams are available, 0 and 1.

Arguments

boolean ignoreNavBlockers=false

Whether to ignore func_nav_blocker entities.

Returns

boolean

Whether the area is blocked or not
Personal tools
Navigation