Garry's Mod Wiki

NPC:NavSetGoal

boolean NPC:NavSetGoal( Vector pos, number length, Vector dir )

Description

Works similarly to NPC:NavSetRandomGoal.

Arguments

1 Vector pos
The origin to calculate a path from.
2 number length
The target length of the path to calculate.
3 Vector dir
The direction in which to look for a new path end goal.

Returns

1 boolean
Whether path generation was successful or not.

Page Links


Special Pages


Wikis

?

Render Time: 43ms

DB GetPage 4
Generate Html 7
SaveChanges (1) 17
Render Body 0
Render Sidebar 12