llEvade
function ll.Evade(TargetID: string, Options: {any})Evade a specified target.
Characters will (roughly) try to hide from their pursuers if there is a good hiding spot along their fleeing path. Hiding means no direct line of sight from the head of the character (centre of the top of its physics bounding box) to the head of its pursuer and no direct path between the two on the navigation-mesh.
Parameters
-
TargetID(string) - Agent or object to evade.
-
Options({any}) - No options yet.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.Evade().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llEvade