<?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_getGroupPoints</id>
		<title>MIST getGroupPoints - 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_getGroupPoints"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getGroupPoints&amp;action=history"/>
		<updated>2026-04-26T11:18:38Z</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_getGroupPoints&amp;diff=1005&amp;oldid=prev</id>
		<title>Grimes at 22:56, 13 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getGroupPoints&amp;diff=1005&amp;oldid=prev"/>
				<updated>2018-04-13T22:56:54Z</updated>
		
		<summary type="html">&lt;p&gt;&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.getGroupPoints&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 1.0&lt;br /&gt;
&lt;br /&gt;
|desc= Returns a table of Vec2 points that define the default route of the group named groupName as set within the mission editor.  This function is great when used in combination with mist.pointInPolygon; you can “draw” your polygon with the waypoints of a unit (that never gets activated), and then feed the mist.pointInPolygon with the returned values of mist.getGroupPoints. &lt;br /&gt;
&lt;br /&gt;
|rtnType= table&lt;br /&gt;
&lt;br /&gt;
|reqType1= string&lt;br /&gt;
&lt;br /&gt;
|reqName1= groupName&lt;br /&gt;
&lt;br /&gt;
|reqType2= &lt;br /&gt;
&lt;br /&gt;
|optType1= &lt;br /&gt;
&lt;br /&gt;
|varExamples= group = 'myGroup' &lt;br /&gt;
&lt;br /&gt;
|rtnExamples= &amp;lt;pre&amp;gt;{ [1] = {x = 299435.224, y = -1146632.6773}, [2] = { x = 663324.6563, y = 322424.1112}}&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|example=  assuming that “point” is a vec2 or vec3 map coordinate, inZone will now be a boolean that reflects whether or not that point is inside the polygon created by the waypoints of the group named “Polygon Group 1&amp;quot;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  do&lt;br /&gt;
    inZone = mist.pointInPolygon(point, mist.getGroupPoints('Polygon Group 1')) &lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|notes= &lt;br /&gt;
&lt;br /&gt;
|funcs= {{listOfMistGroupData}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|getGroupPoints]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>