Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...