Garry's Mod Wiki

Revision Difference

NPC:NavSetGoalPos#546897

<function name="NavSetGoalPos" parent="NPC" type="classfunc">⤶ <description>Creates a path to closest node at given position. This won't actually force the NPC to move.⤶ ⤶ ⤶ See also <page>NPC:NavSetRandomGoal</page>.</description>⤶ <realm>Server</realm>⤶ <added>2022.06.08</added>⤶ <args>⤶ <arg name="pos" type="Vector">The position to calculate a path to.</arg>⤶ </args>⤶ <rets>⤶ <ret type="boolean">Whether path generation was successful or not.</ret>⤶ </rets>⤶ </function>⤶ ⤶