Garry's Mod Wiki

Revision Difference

NPC:NavSetGoal#528067

<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> <realm>Server</realm> <args> <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>⤶ </rets>⤶ </function>