<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=GetRouteDistance</id>
	<title>GetRouteDistance - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=GetRouteDistance"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=GetRouteDistance&amp;action=history"/>
	<updated>2026-07-21T08:01:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=GetRouteDistance&amp;diff=6229&amp;oldid=prev</id>
		<title>Ozdeadmeat: GetRouteDistance – created via PowerShell script (2026-06-24T22:27:17Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=GetRouteDistance&amp;diff=6229&amp;oldid=prev"/>
		<updated>2026-06-24T12:27:15Z</updated>

		<summary type="html">&lt;p&gt;GetRouteDistance – created via PowerShell script (2026-06-24T22:27:17Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          GetRouteDistance|fDescription=   Calculates a series of points along a road path at a specified distance, starting from the first point and progressing sequentially until the target distance is reached. It adds each point to a table, stopping when the cumulative distance exceeds the specified value or reaches the end of the path.|parentFile=     cmm.spawnFunctions.lua|syntax=         CMM.GetRouteDistance(PathOnRoadsTbl &amp;lt;TBL&amp;gt;)|return=         number|returnDesc=     Table containing the points along the path that are at or within the specified distance from the start.|example=        CMM.GetRouteDistance({{x=100,y=200},{x=300,y=400},{x=500,y=600}})|exampleDesc=    Measures the total distance along the path defined by the points (100,200), (300,400), and (500,600) by calculating the 2D distance between each consecutive point and summing them up, returning the total distance as a number.|related=        |note=           |envType= CMM|par1=         table PathOnRoadsTbl|reqType1=     table|reqName1=     PathOnRoadsTbl|desc1=       Array of vec2 road points, each containing x and y coordinates, representing a path to traverse.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>