Garry's Mod Wiki

Revision Difference

NPC:NavSetGoalTarget#528065

<function name="NavSetGoalTarget" parent="NPC" type="classfunc"> <description>Set the goal target for an NPC.</description> <realm>Server</realm> <args> <arg name="target" type="Entity">The targeted entity to set the goal to.</arg> <arg name="offset" type="Vector">The offset to apply to the targeted entity's position.</arg> </args> <rets>⤶ <ret type="boolean">Whether path generation was successful or not</ret>⤶ </rets>⤶ </function>