NPC.NavSetGoal

From GMod Wiki

Revision as of 21:44, 1 June 2011 by Chrisaster (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax NPC:NavSetGoal( Vector goal )
Description:
Sets goal position for an NPC
Returns: nil
In Object: Npc
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=NPC.NavSetGoal]NPC.NavSetGoal [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets the NPC's goal to position 0,0,0.
Used onNewerServer.png
Code
someNpc:NavSetGoal( Vector(0, 0, 0) )
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox