Documentation
›
API Reference
›
Object
›
Entity
Follow
Lua
C++
Syntax
bool
Follow
(Entity* entity, float maxspeed=1.4, float maxacceleration=1.0)
Returns
Returns true if a path can be plotted to the target entity, otherwise false is returned.