<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=CheckFlag</id>
	<title>CheckFlag - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://eternity.youfailit.net/index.php?action=history&amp;feed=atom&amp;title=CheckFlag"/>
	<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=CheckFlag&amp;action=history"/>
	<updated>2026-05-25T09:04:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://eternity.youfailit.net/index.php?title=CheckFlag&amp;diff=5427&amp;oldid=prev</id>
		<title>Printz: Created page with &quot;{{ACSFunction|description=Checks if a tagged thing has the given EDF flag. |usage=&#039;&#039;bool&#039;&#039; &#039;&#039;&#039;CheckFlag&#039;&#039;&#039;(&#039;&#039;int tid&#039;&#039;, &#039;&#039;str flag&#039;&#039;) |parameters= *&#039;&#039;tid&#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://eternity.youfailit.net/index.php?title=CheckFlag&amp;diff=5427&amp;oldid=prev"/>
		<updated>2022-09-22T06:03:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ACSFunction|description=Checks if a tagged thing has the given &lt;a href=&quot;/wiki/Thing_type_flags&quot; title=&quot;Thing type flags&quot;&gt;EDF flag&lt;/a&gt;. |usage=&amp;#039;&amp;#039;bool&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;CheckFlag&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int tid&amp;#039;&amp;#039;, &amp;#039;&amp;#039;str flag&amp;#039;&amp;#039;) |parameters= *&amp;#039;&amp;#039;tid&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ACSFunction|description=Checks if a tagged thing has the given [[Thing type flags|EDF flag]].&lt;br /&gt;
|usage=&amp;#039;&amp;#039;bool&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;CheckFlag&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;int tid&amp;#039;&amp;#039;, &amp;#039;&amp;#039;str flag&amp;#039;&amp;#039;)&lt;br /&gt;
|parameters=&lt;br /&gt;
*&amp;#039;&amp;#039;tid&amp;#039;&amp;#039;: [[TID]] of map object to check&lt;br /&gt;
*&amp;#039;&amp;#039;flag&amp;#039;&amp;#039;: name of flag to check&lt;br /&gt;
|return=&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;TRUE&amp;#039;&amp;#039;&amp;#039; if the tagged thing has that flag, &amp;#039;&amp;#039;&amp;#039;FALSE&amp;#039;&amp;#039;&amp;#039; otherwise&lt;br /&gt;
|examples=&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 int isShootable = CheckFlag(2, &amp;quot;SHOOTABLE&amp;quot;);&lt;br /&gt;
 int isInvisible = CheckFlag(4, &amp;quot;DONTDRAW&amp;quot;);&lt;br /&gt;
 int activatorHasPartialInvisibility = CheckFlag(0, &amp;quot;SHADOW&amp;quot;);&lt;br /&gt;
|notes=&lt;br /&gt;
This function can only check for one flag on one thing at a time. Checking multiple flags isn&amp;#039;t possible. If multiple things have the [[TID]], only the first one found will be checked.&lt;br /&gt;
|id=-75&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Printz</name></author>
	</entry>
</feed>