<?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_Mapobjs_dead_zones</id>
		<title>MIST Mapobjs dead zones - 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_Mapobjs_dead_zones"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_Mapobjs_dead_zones&amp;action=history"/>
		<updated>2026-04-24T15:35:22Z</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_Mapobjs_dead_zones&amp;diff=1089&amp;oldid=prev</id>
		<title>Grimes at 23:22, 13 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_Mapobjs_dead_zones&amp;diff=1089&amp;oldid=prev"/>
				<updated>2018-04-13T23:22:16Z</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.flagFunc.mapobjs_dead_zones&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 1.0&lt;br /&gt;
&lt;br /&gt;
|desc= Sets a flag true when the a required number of world objects are dead within the specified zones.&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= table&lt;br /&gt;
|r1N= zones&lt;br /&gt;
&lt;br /&gt;
|r2T= number/string&lt;br /&gt;
|r2N= flag&lt;br /&gt;
&lt;br /&gt;
|r3N=&lt;br /&gt;
&lt;br /&gt;
|o1T= number/string&lt;br /&gt;
|o1N= stopFlag&lt;br /&gt;
&lt;br /&gt;
|o2T= number &lt;br /&gt;
|o2N= req_num&lt;br /&gt;
|o3N=&lt;br /&gt;
&lt;br /&gt;
|r1D= is a table of zone names (indexed numerically)&lt;br /&gt;
|r2D= is the flag number that will be set true if the conditions are met&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|o1D=  is an optional variable that allows you to specify a flag number that, if set true, will &lt;br /&gt;
stop the process.   &lt;br /&gt;
|o2D=  is an optional variable that allows you to specify the minimum number of units that &lt;br /&gt;
must be in one (or more) of the zones before flag is set true. &amp;lt;ins&amp;gt; If req_num is not specified, it &lt;br /&gt;
defaults to 1. &amp;lt;/ins&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= nothing&lt;br /&gt;
&lt;br /&gt;
|example= &amp;lt;code&amp;gt;&lt;br /&gt;
do&lt;br /&gt;
  mist.flagFunc.mapobjs_dead_zones{  &lt;br /&gt;
    zones = {'town1', 'town2', 'town3'},  &lt;br /&gt;
    flag = 1050, &lt;br /&gt;
    req_num = 5 &lt;br /&gt;
  }  &lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|notes= Once this function is run, it will start a continuously evaluated process that will set flag flag true  &lt;br /&gt;
if map objects (such as bridges, buildings in town, etc.) die (or have died) in a mission editor &lt;br /&gt;
zone (or set of zones).  This will only happen once; once the flag flag is set true, the process &lt;br /&gt;
ends&lt;br /&gt;
&lt;br /&gt;
Mist 3.5 allows for strings to be used to define flags. &lt;br /&gt;
&lt;br /&gt;
|funcs=  {{listOfMistFlagFuncs}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|mapobjs_dead_zones]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>