Garry's Mod Wiki

NPC:NavSetGoalTarget

boolean NPC:NavSetGoalTarget( Entity target, Vector offset )

Description

Set the goal target for an NPC.

Arguments

1 Entity target
The targeted entity to set the goal to.
2 Vector offset
The offset to apply to the targeted entity's position.

Returns

1 boolean
Whether path generation was successful or not

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 9
Render Body 0
Render Sidebar 10