<?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_getRandomPointInPoly</id>
		<title>MIST getRandomPointInPoly - 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_getRandomPointInPoly"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getRandomPointInPoly&amp;action=history"/>
		<updated>2026-04-24T19:50:31Z</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_getRandomPointInPoly&amp;diff=14585&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Mission Scripting  |fName= mist.getRandomPointInPoly|  |vNum = Mist 3.6  |desc= Returns a randomly generated vec2 coordinate within the specified set of points that make up...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getRandomPointInPoly&amp;diff=14585&amp;oldid=prev"/>
				<updated>2023-10-18T23:45:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Mission Scripting  |fName= mist.getRandomPointInPoly|  |vNum = Mist 3.6  |desc= Returns a randomly generated vec2 coordinate within the specified set of points that make up...&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.getRandomPointInPoly|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 3.6&lt;br /&gt;
&lt;br /&gt;
|desc= Returns a randomly generated vec2 coordinate within the specified set of points that make up a polygon. &lt;br /&gt;
&lt;br /&gt;
|rtnType= vec2&lt;br /&gt;
&lt;br /&gt;
|reqType1= table&lt;br /&gt;
&lt;br /&gt;
|reqName1= points&lt;br /&gt;
&lt;br /&gt;
|reqType2= &lt;br /&gt;
&lt;br /&gt;
|reqName2= &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;
|reqName4= &lt;br /&gt;
&lt;br /&gt;
|reqType5= &lt;br /&gt;
&lt;br /&gt;
|reqName5= &lt;br /&gt;
&lt;br /&gt;
|optType1= &lt;br /&gt;
&lt;br /&gt;
|optName1= &lt;br /&gt;
&lt;br /&gt;
|optType2= &lt;br /&gt;
&lt;br /&gt;
|optName2= &lt;br /&gt;
&lt;br /&gt;
|optType3= &lt;br /&gt;
&lt;br /&gt;
|optName3= &lt;br /&gt;
&lt;br /&gt;
|optType4= &lt;br /&gt;
&lt;br /&gt;
|optName4= &lt;br /&gt;
&lt;br /&gt;
|optType5= &lt;br /&gt;
&lt;br /&gt;
|optName5= &lt;br /&gt;
&lt;br /&gt;
|vars=&lt;br /&gt;
&lt;br /&gt;
|varExamples= &lt;br /&gt;
&lt;br /&gt;
|rtnExamples= {{vec2}}&lt;br /&gt;
&lt;br /&gt;
|example= The following code will get a random point inside a zone defined by the route of the group &amp;quot;whatever&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:local points = mist.getGroupPoints(&amp;quot;whatever&amp;quot;)&lt;br /&gt;
:local rndPoint = mist.getRandomPointInPoly(points)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
|notes= Uses: [[GetRandomPointInCircle]]&lt;br /&gt;
|funcs= {{ListOfMistGeneralPurposeFuncs}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:MIST|getRandomPointInPoly]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>