Garry's Mod Wiki

Revision Difference

PathFollower:Chase#544096

<function name="Chase" parent="PathFollower" type="classfunc"> <description>If you created your path with type "Chase" this functions should be used in place of <page>PathFollower:Update</page> to cause the bot to chase the specified entity.</description> <realm>Server</realm> <args> <arg name="bot" type="NextBot">The bot to update along the path</arg>⤶ <arg name="bot" type="NextBot">The bot to update along the path. This can also be a nextbot player (<page>player.CreateNextbot</page>)</arg>⤶ <arg name="ent" type="Entity">The entity we want to chase</arg> </args> </function>