Revision Difference
NPC:NavSetGoal#528173
<function name="NavSetGoal" parent="NPC" type="classfunc">
<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 origin to calculate a path from.</arg>
<arg name="length" type="number">The target length of the path to calculate.</arg>⤶
<arg name="dir" type="Vector">The direction in which to look for a new path end goal.</arg>⤶
</args>
<rets>
<ret type="boolean">Whether path generation was successful or not.</ret>
</rets>
</function>