<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Command_Condition_Bug</id>
		<title>Command Condition Bug - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Command_Condition_Bug"/>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Command_Condition_Bug&amp;action=history"/>
		<updated>2026-04-09T14:56:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Command_Condition_Bug&amp;diff=732&amp;oldid=prev</id>
		<title>Zurg: I am not sure. Someone should verify.</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Command_Condition_Bug&amp;diff=732&amp;oldid=prev"/>
				<updated>2024-10-27T21:42:35Z</updated>
		
		<summary type="html">&lt;p&gt;I am not sure. Someone should verify.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:42, 27 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''' I am not 100% certain WHEN this bug occurs, and this page should be verified at some point in the future (eg me when I have time) '''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There is a bug that appears under certain circumstances, when the '''Give Unit''' action and the '''Command''' condition are used together. This ''only'' occurs when Give Unit and Command are used in the same trigger cycle; specifically, if Command is checking a value that was altered by Give Unit earlier on. So, if Give Unit was used AND THEN Command was used later on in the same trigger cycle. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There is a bug that appears under certain circumstances, when the '''Give Unit''' action and the '''Command''' condition are used together. This ''only'' occurs when Give Unit and Command are used in the same trigger cycle; specifically, if Command is checking a value that was altered by Give Unit earlier on. So, if Give Unit was used AND THEN Command was used later on in the same trigger cycle. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Zurg</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Command_Condition_Bug&amp;diff=721&amp;oldid=prev</id>
		<title>Zurg: Created page with &quot;There is a bug that appears under certain circumstances, when the '''Give Unit''' action and the '''Command''' condition are used together. This ''only'' occurs when Give Unit...&quot;</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Command_Condition_Bug&amp;diff=721&amp;oldid=prev"/>
				<updated>2024-08-26T02:15:36Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;There is a bug that appears under certain circumstances, when the &amp;#039;&amp;#039;&amp;#039;Give Unit&amp;#039;&amp;#039;&amp;#039; action and the &amp;#039;&amp;#039;&amp;#039;Command&amp;#039;&amp;#039;&amp;#039; condition are used together. This &amp;#039;&amp;#039;only&amp;#039;&amp;#039; occurs when Give Unit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There is a bug that appears under certain circumstances, when the '''Give Unit''' action and the '''Command''' condition are used together. This ''only'' occurs when Give Unit and Command are used in the same trigger cycle; specifically, if Command is checking a value that was altered by Give Unit earlier on. So, if Give Unit was used AND THEN Command was used later on in the same trigger cycle. &lt;br /&gt;
&lt;br /&gt;
The issue is that the value that Command is checking is the number of units owned at the BEGINNING of the trigger cycle. It is at the beginning of the trigger cycle because this number does not change or get updated when using the Give Unit action until the trigger cycle has finished. This is a bug in StarCraft's coding. You can use Bring condition (with &amp;quot;Anywhere&amp;quot; being the location) to get around this issue. You can also trigger in a 1 cycle delay before checking with Command.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Bring Condition Bug]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;/div&gt;</summary>
		<author><name>Zurg</name></author>	</entry>

	</feed>