<?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_getRandomPointInZone</id>
	<title>MIST getRandomPointInZone - 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_getRandomPointInZone"/>
	<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getRandomPointInZone&amp;action=history"/>
	<updated>2026-10-31T22:22:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_getRandomPointInZone&amp;diff=8023&amp;oldid=prev</id>
		<title>Acidictadpole at 05:24, 10 September 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getRandomPointInZone&amp;diff=8023&amp;oldid=prev"/>
		<updated>2018-09-10T05:24:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:24, 10 September 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Mission Scripting&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Mission Scripting&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|fName= mist.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;getRandPointInZone&lt;/del&gt;|&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|fName= mist.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;getRandomPointInZone&lt;/ins&gt;|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|vNum = Mist 3.6&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|vNum = Mist 3.6&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key hoggitwiki-hoggitwiki-:diff:1.41:old-904:rev-8023:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Acidictadpole</name></author>
	</entry>
	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_getRandomPointInZone&amp;diff=904&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Mission Scripting  |fName= mist.getRandPointInZone|  |vNum = Mist 3.6  |desc= Returns a randomly generated vec2 coordinate within the specified zone as defined within the mi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getRandomPointInZone&amp;diff=904&amp;oldid=prev"/>
		<updated>2018-04-13T08:35:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Mission Scripting  |fName= mist.getRandPointInZone|  |vNum = Mist 3.6  |desc= Returns a randomly generated vec2 coordinate within the specified zone as defined within the mi...&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.getRandPointInZone|&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 zone as defined within the mission editor.  If the optional variable innerRadius is given the random point will be generated that has a minimum distance of innerRadius and a maximum distance of radius from the point.&lt;br /&gt;
&lt;br /&gt;
|rtnType= vec2&lt;br /&gt;
&lt;br /&gt;
|reqType1= string&lt;br /&gt;
&lt;br /&gt;
|reqName1= zoneName&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= number&lt;br /&gt;
&lt;br /&gt;
|optName1= innerRadius&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= The following values have to have the correct type of data&lt;br /&gt;
 zoneName= any zone name created in the mission editor&lt;br /&gt;
 innerRadius = any positive number less than radius&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= {{vec2}}&lt;br /&gt;
&lt;br /&gt;
|example= The following code will deploy a smoke marker randomly inside a zone with a minimum distance of 200 meters from the center of the zone&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
do&lt;br /&gt;
:local newPoint = mist.getRandomPointInZone(&amp;#039;myZone&amp;#039;, 200)&lt;br /&gt;
:trigger.action.smoke(newPoint, trigger.smokeColor.Red&lt;br /&gt;
end&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|getRandomPointInZone]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>
	</entry>
</feed>