Garry's Mod Wiki

Revision Difference

NPC:NavSetGoal#528141

<function name="NavSetGoal" parent="NPC" type="classfunc"> <description>Works similarly to <page>NPC:NavSetRandomGoal</page>, but doesn't actually work. This will be fixed in the next update.</description> <description>Works similarly to <page>NPC:NavSetRandomGoal</page>.</description> <realm>Server</realm> <args> <arg name="pos" type="Vector">The position to set as the goal</arg>⤶ <arg name="pos" type="Vector">The position to set as the goal.</arg>⤶ </args> <rets> <ret type="boolean">Whether path generation was successful or not</ret>⤶ <ret type="boolean">Whether path generation was successful or not.</ret>⤶ </rets> </function>