NPC.NavSetGoalTarget
From GMod Wiki
Function | |
Syntax | NPC:NavSetGoalTarget( Entity Target, Vector Offset ) |
Description: | |
Sets goal target for an NPC | |
Returns: | nil |
In Object: | Npc |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=NPC.NavSetGoalTarget]NPC.NavSetGoalTarget [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the NPC's goal to position 0,0,0. |
---|---|
Used on | |
Code | someNpc:NavSetGoalTarget( ents.FindByClass( "info_target" )[1], Vector(0, 0, 0) ) |
Output | N/A |