Garry's Mod Wiki

NPC:NavSetGoal

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.

Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 24
Generate Html 5
SaveChanges (1) 16
Render Body 0
Render Sidebar 6