NPC/NavSetRandomGoal

From Garry's Mod
Jump to: navigation, search
 NPC:NavSetRandomGoal( )

Description

Creates a random path of specified minimum length between a closest start node and random node in the specified direction.

Arguments

number minPathLength

Minimum length of path in units

Arguments

Vector dir

Unit vector pointing in the direction of the target random node
Personal tools
Navigation