path_length(ENTITY*)
Updates the lengths of the edges of a path, and returns the total length
of all edges.
Parameters:
ENTITY* - pointer to an entity attached to the path.
Speed:
Medium
Modifies:
Edge lengths of the path.
Remarks:
Can be used to automtically recalculate the path when node positions
were modified by path_setnode.
Example:
my.skill17 = path_length(my);
See also:
path_scan, path_nextnode, path_setedge,
path_setnode, path_spline ► latest
version online