<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Troycheek</id>
	<title>Spring - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Troycheek"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/Troycheek"/>
	<updated>2026-11-08T20:42:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11538</id>
		<title>Lua PathFinder</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11538"/>
		<updated>2010-04-30T22:55:24Z</updated>

		<summary type="html">&lt;p&gt;Troycheek: /* Path UserData Object */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Lua_Scripting|Lua Scripting]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
== PathFinder ==&lt;br /&gt;
&#039;&#039;&#039;Spring.RequestPath&#039;&#039;&#039;&lt;br /&gt;
  ( string &amp;quot;MoveTypeName&amp;quot; | number moveID,&lt;br /&gt;
    number start_x, number start_y, number start_z,&lt;br /&gt;
    number end_x,   number end_y,   number end_z&lt;br /&gt;
    [, number radius = 8 ]&lt;br /&gt;
  ) -&amp;gt; nil | pathObject path &amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;(see below)&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Path UserData Object ==&lt;br /&gt;
&#039;&#039;&#039;Path:GetEstimatedPath&#039;&#039;&#039;&lt;br /&gt;
  ( ) -&amp;gt; nil | {&lt;br /&gt;
     [1] = { x,y,z }, ...&lt;br /&gt;
   },{&lt;br /&gt;
     [1] = startIdxOfDetailedPath,&lt;br /&gt;
     [2] = startIdxOfDetailedEstimatedPath1,&lt;br /&gt;
     [3] = startIdxOfDetailedEstimatedPath2,&lt;br /&gt;
   }&lt;br /&gt;
&amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;GetEstimatedPath() returns 2 tables:  1 table with the waypoints and 1 table with 3 indices (in the waypoint table) when a new (more lazy) pathfinding algorithm  begins.  So the waypoint table contains 3 different levels of details.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Path:Next&#039;&#039;&#039;&lt;br /&gt;
  ( number pos_x, number pos_y, number pos_z,&lt;br /&gt;
    [, number radius = 0 ]&lt;br /&gt;
  ) -&amp;gt; nil | number x, number y, number z&lt;br /&gt;
&amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;Path:Next() returns the next waypoint in the path.  Unlike GetEstimatedPath() in which the resolution of the waypoints decreases, Next updates the path so the resolution will increase as it approaches the target.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that &#039;&#039;Path&#039;&#039; in &#039;&#039;Path:GetEstimatedPath&#039;&#039; and &#039;&#039;Path:Next&#039;&#039; is not part of the command, but rather a reference to the path Object created by &#039;&#039;Spring.RequestPath&#039;&#039;.  It must match the path Object (case sensitive).&lt;br /&gt;
&lt;br /&gt;
[[category: Lua]]&lt;/div&gt;</summary>
		<author><name>Troycheek</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11537</id>
		<title>Lua PathFinder</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11537"/>
		<updated>2010-04-30T22:35:56Z</updated>

		<summary type="html">&lt;p&gt;Troycheek: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Lua_Scripting|Lua Scripting]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
== PathFinder ==&lt;br /&gt;
&#039;&#039;&#039;Spring.RequestPath&#039;&#039;&#039;&lt;br /&gt;
  ( string &amp;quot;MoveTypeName&amp;quot; | number moveID,&lt;br /&gt;
    number start_x, number start_y, number start_z,&lt;br /&gt;
    number end_x,   number end_y,   number end_z&lt;br /&gt;
    [, number radius = 8 ]&lt;br /&gt;
  ) -&amp;gt; nil | pathObject path &amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;(see below)&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Path UserData Object ==&lt;br /&gt;
&#039;&#039;&#039;Path:GetEstimatedPath&#039;&#039;&#039;&lt;br /&gt;
  ( ) -&amp;gt; nil | {&lt;br /&gt;
     [1] = { x,y,z }, ...&lt;br /&gt;
   },{&lt;br /&gt;
     [1] = startIdxOfDetailedPath,&lt;br /&gt;
     [2] = startIdxOfDetailedEstimatedPath1,&lt;br /&gt;
     [3] = startIdxOfDetailedEstimatedPath2,&lt;br /&gt;
   }&lt;br /&gt;
  &amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;GetEstimatedPath() returns 2 tables:&lt;br /&gt;
    1 table with the waypoints and 1 table with 3 indices (in the waypoint table)&lt;br /&gt;
    when a new (more lazy) pathfinding algorithm  begins.&lt;br /&gt;
    So the waypoint table contains 3 different levels of details.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Path:Next&#039;&#039;&#039;&lt;br /&gt;
  ( number pos_x, number pos_y, number pos_z,&lt;br /&gt;
    [, number radius = 0 ]&lt;br /&gt;
  ) -&amp;gt; nil | number x, number y, number z&lt;br /&gt;
&lt;br /&gt;
Note that &#039;&#039;Path&#039;&#039; in &#039;&#039;Path:GetEstimatedPath&#039;&#039; and &#039;&#039;Path:Next&#039;&#039; is not part of the command, but rather a reference to the path Object created by &#039;&#039;Spring.RequestPath&#039;&#039;.  It must match the path Object (case sensitive).&lt;br /&gt;
&lt;br /&gt;
[[category: Lua]]&lt;/div&gt;</summary>
		<author><name>Troycheek</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11535</id>
		<title>Lua PathFinder</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11535"/>
		<updated>2010-04-30T12:12:34Z</updated>

		<summary type="html">&lt;p&gt;Troycheek: changed bellow to below&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Lua_Scripting|Lua Scripting]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
== PathFinder ==&lt;br /&gt;
&#039;&#039;&#039;Spring.RequestPath&#039;&#039;&#039;&lt;br /&gt;
  ( string &amp;quot;MoveTypeName&amp;quot; | number moveID,&lt;br /&gt;
    number start_x, number start_y, number start_z,&lt;br /&gt;
    number end_x,   number end_y,   number end_z&lt;br /&gt;
    [, number radius = 8 ]&lt;br /&gt;
  ) -&amp;gt; nil | pathObject path &amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;(see below)&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Path UserData Object ==&lt;br /&gt;
&#039;&#039;&#039;Path.GetEstimatedPath&#039;&#039;&#039;&lt;br /&gt;
  ( ) -&amp;gt; nil | {&lt;br /&gt;
     [1] = { x,y,z }, ...&lt;br /&gt;
   },{&lt;br /&gt;
     [1] = startIdxOfDetailedPath,&lt;br /&gt;
     [2] = startIdxOfDetailedEstimatedPath1,&lt;br /&gt;
     [3] = startIdxOfDetailedEstimatedPath2,&lt;br /&gt;
   }&lt;br /&gt;
  &amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;GetEstimatedPath() returns 2 tables:&lt;br /&gt;
    1 table with the waypoints and 1 table with 3 indices (in the waypoint table)&lt;br /&gt;
    when a new (more lazy) pathfinding algorithm  begins.&lt;br /&gt;
    So the waypoint table contains 3 different levels of details.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Path.Next&#039;&#039;&#039;&lt;br /&gt;
  ( number pos_x, number pos_y, number pos_z,&lt;br /&gt;
    [, number radius = 0 ]&lt;br /&gt;
  ) -&amp;gt; nil | number x, number y, number z&lt;br /&gt;
&lt;br /&gt;
[[category: Lua]]&lt;/div&gt;</summary>
		<author><name>Troycheek</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11534</id>
		<title>Lua PathFinder</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Lua_PathFinder&amp;diff=11534"/>
		<updated>2010-04-30T12:10:42Z</updated>

		<summary type="html">&lt;p&gt;Troycheek: changed GetUnitEstimatedPath to GetEstimatedPath&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Lua_Scripting|Lua Scripting]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
== PathFinder ==&lt;br /&gt;
&#039;&#039;&#039;Spring.RequestPath&#039;&#039;&#039;&lt;br /&gt;
  ( string &amp;quot;MoveTypeName&amp;quot; | number moveID,&lt;br /&gt;
    number start_x, number start_y, number start_z,&lt;br /&gt;
    number end_x,   number end_y,   number end_z&lt;br /&gt;
    [, number radius = 8 ]&lt;br /&gt;
  ) -&amp;gt; nil | pathObject path &amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;(see bellow)&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Path UserData Object ==&lt;br /&gt;
&#039;&#039;&#039;Path.GetEstimatedPath&#039;&#039;&#039;&lt;br /&gt;
  ( ) -&amp;gt; nil | {&lt;br /&gt;
     [1] = { x,y,z }, ...&lt;br /&gt;
   },{&lt;br /&gt;
     [1] = startIdxOfDetailedPath,&lt;br /&gt;
     [2] = startIdxOfDetailedEstimatedPath1,&lt;br /&gt;
     [3] = startIdxOfDetailedEstimatedPath2,&lt;br /&gt;
   }&lt;br /&gt;
  &amp;lt;font color=&amp;quot;#55ee99&amp;quot;&amp;gt;GetEstimatedPath() returns 2 tables:&lt;br /&gt;
    1 table with the waypoints and 1 table with 3 indices (in the waypoint table)&lt;br /&gt;
    when a new (more lazy) pathfinding algorithm  begins.&lt;br /&gt;
    So the waypoint table contains 3 different levels of details.&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Path.Next&#039;&#039;&#039;&lt;br /&gt;
  ( number pos_x, number pos_y, number pos_z,&lt;br /&gt;
    [, number radius = 0 ]&lt;br /&gt;
  ) -&amp;gt; nil | number x, number y, number z&lt;br /&gt;
&lt;br /&gt;
[[category: Lua]]&lt;/div&gt;</summary>
		<author><name>Troycheek</name></author>
	</entry>
</feed>