<?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_msgBR</id>
		<title>MIST msgBR - 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_msgBR"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_msgBR&amp;action=history"/>
		<updated>2026-04-24T15:27:27Z</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_msgBR&amp;diff=1097&amp;oldid=prev</id>
		<title>Grimes at 23:23, 13 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_msgBR&amp;diff=1097&amp;oldid=prev"/>
				<updated>2018-04-13T23:23:44Z</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.msgBR&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 3.0&lt;br /&gt;
&lt;br /&gt;
|desc= Utilizes [[MIST getBRString|mist.getBRString]] and [[MIST messageAdd|mist.message.add]] functions to display a coordinates in the bearing range format of the average position of units at the specified accuracy from the reference point via the mist message system to the specified recipients for the given displayTime. If text is provided, the coordinates will be added to the end of the text message. &lt;br /&gt;
&lt;br /&gt;
|rtnType= nothing&lt;br /&gt;
&lt;br /&gt;
|reqType1= table&lt;br /&gt;
&lt;br /&gt;
|reqName1= vars&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;
|varExamples= {{varsTable&lt;br /&gt;
&lt;br /&gt;
|r1T= UnitNameTable&lt;br /&gt;
|r1N= units&lt;br /&gt;
&lt;br /&gt;
|r2T= table&lt;br /&gt;
|r2N= ref&lt;br /&gt;
&lt;br /&gt;
|r3T= number&lt;br /&gt;
|r3N= displayTime&lt;br /&gt;
&lt;br /&gt;
|r4T= table&lt;br /&gt;
|r4N= msgFor&lt;br /&gt;
&lt;br /&gt;
|r5T= &lt;br /&gt;
|r5N= &lt;br /&gt;
&lt;br /&gt;
|r6T= &lt;br /&gt;
|r6N= &lt;br /&gt;
&lt;br /&gt;
|o1T= string&lt;br /&gt;
|o1N= text&lt;br /&gt;
&lt;br /&gt;
|o2T= boolean&lt;br /&gt;
|o2N= metric&lt;br /&gt;
&lt;br /&gt;
|o3T= boolean&lt;br /&gt;
|o3N= alt&lt;br /&gt;
&lt;br /&gt;
|o4T= &lt;br /&gt;
|o4N= &lt;br /&gt;
&lt;br /&gt;
|o5T= &lt;br /&gt;
|o5N= &lt;br /&gt;
&lt;br /&gt;
|r1D= is a UnitNameTable- a table of unit names that follow a special set of rules (see the entry on UnitNameTables).&lt;br /&gt;
|r2D= is the accuracy which the Bearing Range format will be displayed at&lt;br /&gt;
|r3D= is the time in seconds the message will display for.&lt;br /&gt;
|r4D= is the list of message recipients as outlined in the [[MIST messageAdd|mist.message.add]] documenation&lt;br /&gt;
|r5D= &lt;br /&gt;
|r6D=&lt;br /&gt;
&lt;br /&gt;
|o1D=  is an optional variable of text to be displayed before the BR coordinates  &lt;br /&gt;
|o2D=  is a boolean value that if present will display the coordinates using the metric system&lt;br /&gt;
|o3D=  is a boolean value that will display the message in Bearing Range Altitude Format&lt;br /&gt;
|o4D= &lt;br /&gt;
|o5D=  &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= nothing&lt;br /&gt;
&lt;br /&gt;
|example= The following will return a ground groups bearing and range from a player aircraft. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 do&lt;br /&gt;
  mist.msgBR({&lt;br /&gt;
    units = mist.makeUnitTable('[g]targets'),&lt;br /&gt;
    ref = Unit.getByName('player'):getPosition().p,&lt;br /&gt;
    displayTime = 20,&lt;br /&gt;
    msgFor = {units = {'pilot1'}},&lt;br /&gt;
  })&lt;br /&gt;
 end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|notes= &lt;br /&gt;
&lt;br /&gt;
|funcs= {{listOfMistMessageFuncs}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|msgBR]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>