<?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_unitToWP</id>
		<title>MIST unitToWP - 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_unitToWP"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_unitToWP&amp;action=history"/>
		<updated>2026-04-26T15:49:00Z</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_unitToWP&amp;diff=767&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Mission Scripting  |fName= mist.utils.unitToWP|  |vNum = Mist 4.1  |desc= This function takes a unit object or unit name and returns it's current position as a WP table {x,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_unitToWP&amp;diff=767&amp;oldid=prev"/>
				<updated>2018-04-12T06:24:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Mission Scripting  |fName= mist.utils.unitToWP|  |vNum = Mist 4.1  |desc= This function takes a unit object or unit name and returns it&amp;#039;s current position as a WP table {x,...&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.utils.unitToWP|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 4.1&lt;br /&gt;
&lt;br /&gt;
|desc= This function takes a unit object or unit name and returns it's current position as a WP table {x, y, alt, alt_type, speed}. alt_type will always be &amp;quot;BARO&amp;quot;. Speed is the current units velocity.|&lt;br /&gt;
&lt;br /&gt;
|rtnType= WP&lt;br /&gt;
&lt;br /&gt;
|reqType1= Unit/string&lt;br /&gt;
&lt;br /&gt;
|reqName1= unit/unitName&lt;br /&gt;
&lt;br /&gt;
|reqType2= &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;
&lt;br /&gt;
|varExamples= any unit object or unit name&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= {x, y, alt, alt_type, speed}&lt;br /&gt;
&lt;br /&gt;
|example= &amp;lt;code&amp;gt;&lt;br /&gt;
do&lt;br /&gt;
:local WP = mist.utils.unitToWP('myUnit')&lt;br /&gt;
:local altMethodWP = mist.utils.unitToWP(Unit.getByName('myUnit'))&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= {{listOfMistCoordinateConv}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:MIST|unitToWP]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>