<?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_markerDrawShape</id>
		<title>MIST markerDrawShape - 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_markerDrawShape"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_markerDrawShape&amp;action=history"/>
		<updated>2026-04-24T13:39:19Z</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_markerDrawShape&amp;diff=13948&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Mission Scripting  |fName= mist.marker.drawShape  |vNum = Mist 4.5  |desc= Function that draws a shape as defined in the mission editor by the drawing tools. By default it w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_markerDrawShape&amp;diff=13948&amp;oldid=prev"/>
				<updated>2022-02-11T22:38:55Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Mission Scripting  |fName= mist.marker.drawShape  |vNum = Mist 4.5  |desc= Function that draws a shape as defined in the mission editor by the drawing tools. By default it w...&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.marker.drawShape&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 4.5&lt;br /&gt;
&lt;br /&gt;
|desc= Function that draws a shape as defined in the mission editor by the drawing tools. By default it will inherit as many properties from the mission editor as possible. Any valid entry for [[MIST markerAdd|mist.marker.add]] will be inherited by the shape. &lt;br /&gt;
&lt;br /&gt;
|rtnType= table&lt;br /&gt;
&lt;br /&gt;
|reqType1= string&lt;br /&gt;
&lt;br /&gt;
|reqName1= shapeName&lt;br /&gt;
&lt;br /&gt;
|reqType2= &lt;br /&gt;
&lt;br /&gt;
|optType1= table&lt;br /&gt;
&lt;br /&gt;
|optName1= vars&lt;br /&gt;
&lt;br /&gt;
|optType2= &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|varExamples= {{varsTable&lt;br /&gt;
&lt;br /&gt;
|r1T=&lt;br /&gt;
|r1N=&lt;br /&gt;
&lt;br /&gt;
|o1T= string/number&lt;br /&gt;
|o1N= name/id&lt;br /&gt;
&lt;br /&gt;
|o2T= boolean&lt;br /&gt;
|o2N= ignoreColor&lt;br /&gt;
&lt;br /&gt;
|o3T= number&lt;br /&gt;
|o3N= radius&lt;br /&gt;
&lt;br /&gt;
|o4T= string&lt;br /&gt;
|o4N= text&lt;br /&gt;
&lt;br /&gt;
|o5T= table&lt;br /&gt;
|o5N= markFor&lt;br /&gt;
&lt;br /&gt;
|o6T= number/string&lt;br /&gt;
|o6N= markForCoa&lt;br /&gt;
|o7T= table&lt;br /&gt;
|o7N= color&lt;br /&gt;
|o8T= table&lt;br /&gt;
|o8N= fillColor&lt;br /&gt;
|o9T= number&lt;br /&gt;
|o9N= lineType&lt;br /&gt;
|o10T= boolean&lt;br /&gt;
|o10N= readOnly&lt;br /&gt;
|o11T= text&lt;br /&gt;
|o11N= message&lt;br /&gt;
|o12T= number&lt;br /&gt;
|o12N= fontSize&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|r1D= vec3 or table of vec3 points indexed numerically to define the shapes. &lt;br /&gt;
&lt;br /&gt;
|r2D= &lt;br /&gt;
|r4D=&lt;br /&gt;
|r5D=&lt;br /&gt;
|r6D=&lt;br /&gt;
&lt;br /&gt;
|o1D=  is used to identify the mark, can be used to replace marks already created.&lt;br /&gt;
|o2D= is a boolean that if present the color of the zone as defined in the editor will be ignored. &lt;br /&gt;
&lt;br /&gt;
|o3D= is only relevant if a circle is passed. Radius of the circle to be drawn in meters&lt;br /&gt;
&lt;br /&gt;
|o4D= is relevant to panels and text. Is a string of the text that is to be displayed&lt;br /&gt;
|o5D= accepts a string or a table of strings as keywords to define which groups will receive the message. This table can be use a variety of values to send the message to a very specific group of players. Acceptable values are in a table forma similar to the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;{ &lt;br /&gt;
  units = {...},  -- unit names. &lt;br /&gt;
  coa = {...}, -- coa names &lt;br /&gt;
  countries = {...}, -- country names &lt;br /&gt;
  CA = {...}, -- looks just like coa. &lt;br /&gt;
  unitTypes = { red = {TYPENAME}, blue = {}, all = {}, Russia = {},} &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|o6D= is simplified entry more meant for the shapes because the shapes can only be displayed to all or a specific coalition&lt;br /&gt;
|o7D= is the color of the outline of a shape in {r, g, b, alpha} table format. Values can are between 0 to 1. However mist supports 0-255 format. If the number is greater than 1 mist will assume it is in 0-255 format. By default if color is not defined mist will generate a color automatically based on who is to see the mark. 80% Red or Blue. &lt;br /&gt;
|o8D= is the fill color for the shape. Same rules as stated above apply&lt;br /&gt;
|o9D= is the format the outline will be in. By default if not present the value used is 2. &lt;br /&gt;
&lt;br /&gt;
{{DCS_enum_lineTypes}}&lt;br /&gt;
&lt;br /&gt;
|o10D= is a boolean value for whether or not the mark or shapes can be deleted by users. At present only applies to mark panels. If not present defaults to true. &lt;br /&gt;
|o11D= is text that will be displayed when the mark is created&lt;br /&gt;
|o12D= is only relevant to the text shape. Defines how large of font will be used when displaying the text on the F10 map. If not present the default font size is 16.&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= &lt;br /&gt;
&lt;br /&gt;
|example= Draws an oval shape created with the drawing tool named &amp;quot;ellipse&amp;quot; on the map.&lt;br /&gt;
&lt;br /&gt;
   mist.marker.drawShape('ellipse')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|notes=&lt;br /&gt;
|funcs= {{listOfMistMarkerFuncs}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|marker drawShape]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>