<?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_getAvgPos</id>
		<title>MIST getAvgPos - 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_getAvgPos"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getAvgPos&amp;action=history"/>
		<updated>2026-04-26T11:18:37Z</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_getAvgPos&amp;diff=995&amp;oldid=prev</id>
		<title>Grimes at 22:53, 13 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_getAvgPos&amp;diff=995&amp;oldid=prev"/>
				<updated>2018-04-13T22:53:24Z</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.getAvgPos&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 2.0&lt;br /&gt;
&lt;br /&gt;
|desc= Returns a vec3 coordinate of the averaged position of defined between each unit passed by the table &lt;br /&gt;
|rtnType= table&lt;br /&gt;
&lt;br /&gt;
|reqType1= table&lt;br /&gt;
&lt;br /&gt;
|reqName1= unitNames&lt;br /&gt;
&lt;br /&gt;
|reqType2= &lt;br /&gt;
&lt;br /&gt;
|optType1= &lt;br /&gt;
&lt;br /&gt;
|varExamples= unitNames = &amp;lt;pre&amp;gt;{[1] = 'unit1', [2] = 'unit2'}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also acceptable is &amp;lt;pre&amp;gt; {'unit1', 'unit2', 'unit3'} &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= vec3&lt;br /&gt;
&lt;br /&gt;
|example= Places a smoke marker on the average position of a group in order to avoid friendly fire incidents because some people can't help themselves. (Also see [[Tiger 1-1]])&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  do&lt;br /&gt;
    trigger.action.smoke(mist.getAvgPos(mist.makeUnitTable({'[g]myGroup'})), &amp;quot;Orange&amp;quot;)&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|getAvgPos]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>