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: 60ms

DB GetPage 11
Generate Html 9
SaveChanges (1) 18
Render Body 0
Render Sidebar 19