Garry's Mod Wiki

NPC:NavSetRandomGoal

NPC:NavSetRandomGoal( number minPathLength, Vector dir )

Description

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

Arguments

1 number minPathLength
Minimum length of path in units
2 Vector dir
Unit vector pointing in the direction of the target random node

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 3
Generate Html 3
SaveChanges 12
Render Body 0
Render Sidebar 11