# Lane Waypoint Calc Closest Data For Lane

FlagsNative | 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 — TestLane
  • point — TestPoint

Returns — void

native void AILaneWaypointCalcClosestDataForLane(
	int testLane,
	point testPoint,
);

Category: AI Advanced / Lane / Actions

# Examples

# mods/heroesdata.stormmod

GameLib.galaxy

// L8190
AILaneWaypointCalcClosestDataForLane(lp_curLane, lp_testPoint)