Garry's Mod Wiki

Garry's Mod Wiki

  boolean NPC:NavSetGoalTarget( Entity target, Vector offset = Vector( 0, 0, 0 ) )

Description

Set the goal target for an NPC.

Arguments

1 Entity target
The targeted entity to set the goal to.
2 Vector offset = Vector( 0, 0, 0 )
The offset to apply to the targeted entity's position.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...