NPC.NavSetGoal
From GMod Wiki
Revision as of 21:44, 1 June 2011 by Chrisaster (Talk | contribs)
Function | |
Syntax | NPC:NavSetGoal( Vector goal ) |
Description: | |
Sets goal position for an NPC | |
Returns: | nil |
In Object: | Npc |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=NPC.NavSetGoal]NPC.NavSetGoal [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:NavSetGoal( Vector(0, 0, 0) ) |
Output | N/A |