<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_hex_neighbor</id>
		<title>MIST hex neighbor - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_hex_neighbor"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_hex_neighbor&amp;action=history"/>
		<updated>2026-09-03T06:04:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_hex_neighbor&amp;diff=14830&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Mission Scripting  |fName= mist.hex.neighbor|  |vNum = Mist 4.6  |desc= Returns the neighboring hex in a given direction.   Direction must be a number 1 through 6  |rtnType=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_hex_neighbor&amp;diff=14830&amp;oldid=prev"/>
				<updated>2026-09-01T02:04:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Mission Scripting  |fName= mist.hex.neighbor|  |vNum = Mist 4.6  |desc= Returns the neighboring hex in a given direction.   Direction must be a number 1 through 6  |rtnType=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Mission Scripting&lt;br /&gt;
&lt;br /&gt;
|fName= mist.hex.neighbor|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 4.6&lt;br /&gt;
&lt;br /&gt;
|desc= Returns the neighboring hex in a given direction. &lt;br /&gt;
&lt;br /&gt;
Direction must be a number 1 through 6&lt;br /&gt;
&lt;br /&gt;
|rtnType= table&lt;br /&gt;
&lt;br /&gt;
|reqType1= table &lt;br /&gt;
&lt;br /&gt;
|reqName1= qrs&lt;br /&gt;
&lt;br /&gt;
|reqType2=  number &lt;br /&gt;
&lt;br /&gt;
|reqName2= direction&lt;br /&gt;
&lt;br /&gt;
|reqType3= &lt;br /&gt;
&lt;br /&gt;
|reqName3= &lt;br /&gt;
&lt;br /&gt;
|reqType4=&lt;br /&gt;
&lt;br /&gt;
|optType1= &lt;br /&gt;
&lt;br /&gt;
|varExamples= &lt;br /&gt;
&lt;br /&gt;
|rtnExamples=  &lt;br /&gt;
&lt;br /&gt;
|example=  The following will iterate the 6 neighbors of a given hexagon at the center of the map. &lt;br /&gt;
   local hex = {q = 0, r = 0, s = 1}&lt;br /&gt;
   &lt;br /&gt;
   for i = 1, 6 do&lt;br /&gt;
       local n = mist.hex.neighbor(hex, i)&lt;br /&gt;
       -- do whatever you want with this information&lt;br /&gt;
 &lt;br /&gt;
   end&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
|notes= &lt;br /&gt;
&lt;br /&gt;
|funcs= {{listOfMistHexFuncs}} &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|hex neighbor]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>