Garry's Mod Wiki

Revision Difference

NPC:NavSetGoalTarget#546761

<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="target" type="Entity">The targeted entity to set the goal to. This can be NULL.</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>