# Lane Waypoint Calc Closest Data For Lane
Flags —
Native
|Action
Calculates a handful of data for the closest point in the given TestLane to point TestPoint. Query the calculated data with the “Lane Waypoint Get Calc Data ___” functions.
# Arguments
int
— TestLanepoint
— TestPoint
Returns — void
native void AILaneWaypointCalcClosestDataForLane(
int testLane,
point testPoint,
);
# Related
Category: AI Advanced / Lane / Actions
- [F] —
void
— Lane Waypoint Clear All — ( AILaneWaypointClearAll ) - [F] —
void
— Lane Waypoint Add — ( AILaneWaypointAdd ) - [F] —
void
— Lane Waypoint Calc Closest Data For Lane — ( AILaneWaypointCalcClosestDataForLane )
# Examples
# mods/heroesdata.stormmod
// L8190
AILaneWaypointCalcClosestDataForLane(lp_curLane, lp_testPoint)