<?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=Ordering_and_using_interceptors_and_scarabs</id>
		<title>Ordering and using interceptors and scarabs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Ordering_and_using_interceptors_and_scarabs"/>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Ordering_and_using_interceptors_and_scarabs&amp;action=history"/>
		<updated>2026-04-09T22:39:02Z</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=Ordering_and_using_interceptors_and_scarabs&amp;diff=582&amp;oldid=prev</id>
		<title>Roy: Fixing trigger</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Ordering_and_using_interceptors_and_scarabs&amp;diff=582&amp;oldid=prev"/>
				<updated>2016-07-12T15:52:48Z</updated>
		
		<summary type="html">&lt;p&gt;Fixing trigger&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 15:52, 12 July 2016&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-l30&quot; &gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&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;|actions=&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;|actions=&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;*Move 1 ''[Protoss Interceptor or Protoss Scarab]'' from Storage to Start for Current Player&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;*Move 1 ''[Protoss Interceptor or Protoss Scarab]'' from Storage to Start for Current Player&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Run AI script Set Generic Command Target at &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Start&lt;/del&gt;&lt;/div&gt;&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;*Run AI script Set Generic Command Target at &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;End&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Run AI script Make These Units Patrol &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to End&lt;/del&gt;&lt;/div&gt;&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;*Run AI script Make These Units Patrol &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;at Start&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;*Preserve trigger.&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;*Preserve trigger.&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;}}&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;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Roy</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Ordering_and_using_interceptors_and_scarabs&amp;diff=166&amp;oldid=prev</id>
		<title>DevliN: 1 revision imported: Restoring SC1 backup</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Ordering_and_using_interceptors_and_scarabs&amp;diff=166&amp;oldid=prev"/>
				<updated>2015-03-21T04:33:16Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported: Restoring SC1 backup&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:33, 21 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>DevliN</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Ordering_and_using_interceptors_and_scarabs&amp;diff=165&amp;oldid=prev</id>
		<title>Wormer at 20:49, 11 October 2011</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Ordering_and_using_interceptors_and_scarabs&amp;diff=165&amp;oldid=prev"/>
				<updated>2011-10-11T20:49:30Z</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;[[Protoss Interceptor]]s and [[Protoss Scarab]]s are ''subunits'', or [[units]] that are built by and stored in other non-building units. Subunits must use different AI because they function in a vastly different manner from other offensive units. These AIs can be manipulated with [[triggers]] to send these units to a location, make them &amp;quot;spray&amp;quot; outwards, or even [[Direct Damage System|manipulate the HP of other units]].&lt;br /&gt;
&lt;br /&gt;
== Ordering Interceptors and Scarabs ==&lt;br /&gt;
Normally, when Interceptors move out of their host [[Protoss Carrier|Carrier]]'s range, they quickly turn around and head back. However, this behavior can be circumvented and ''computer-controlled'' Interceptors can be ordered to a location using triggered [[AI scripts]]. This trick is used in maps like [[Particles Arena]]; here are the triggers.&lt;br /&gt;
&lt;br /&gt;
Start by pre-placing ''computer-controlled'' Carriers or Reavers in an enclosure. Place an enemy unit in the enclosure with them. The enemy's presence will prompt the computer to create subunits, which you can capture and control. Wrap the entire enclosure in a [[Location]]; we will call this location &amp;quot;Spawn&amp;quot;. Set up triggers to ally the computer with any other players that may approach the controlled subunits; if you do not, then the subunits will ignore your trigger-based commands and automatically attack the other players.&lt;br /&gt;
&lt;br /&gt;
This optional trigger moves the subunits to an enclosed area (marked by a Location called &amp;quot;Storage&amp;quot;) and stops them from moving around. This keeps the Interceptors from flying around while attacking, and keeps the Scarabs from exploding on their targets.&lt;br /&gt;
{{StarCraft Trigger&lt;br /&gt;
|description=Moving the Interceptors or Scarabs to a storage area.&lt;br /&gt;
|players=&lt;br /&gt;
*Computer Player(s) ''(i.e. Player 7, Player 8)''&lt;br /&gt;
|conditions=&lt;br /&gt;
*Current Player brings at least 1 ''[Protoss Interceptor or Protoss Scarab]'' to Spawn&lt;br /&gt;
|actions=&lt;br /&gt;
*Move all ''[Protoss Interceptor or Protoss Scarab]'' from Spawn to Storage for Current Player&lt;br /&gt;
*Run AI script Set Generic Command Target at Storage&lt;br /&gt;
*Run AI script Make These Units Patrol to Storage&lt;br /&gt;
*Preserve trigger.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This next trigger will order the subunits around. The trigger moves the subunits to their starting position (marked by a Location called Start) and orders them to move to the target area (marked by a Location called End).&lt;br /&gt;
&lt;br /&gt;
{{StarCraft Trigger&lt;br /&gt;
|description=Moving the Interceptors or Scarabs to an area and ordering them to move to another.&lt;br /&gt;
|players=&lt;br /&gt;
*Computer Player(s) ''(i.e. Player 7, Player 8)''&lt;br /&gt;
|conditions=&lt;br /&gt;
*''[Whenever you want to order the subunit.]''&lt;br /&gt;
|actions=&lt;br /&gt;
*Move 1 ''[Protoss Interceptor or Protoss Scarab]'' from Storage to Start for Current Player&lt;br /&gt;
*Run AI script Set Generic Command Target at Start&lt;br /&gt;
*Run AI script Make These Units Patrol to End&lt;br /&gt;
*Preserve trigger.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Remember that the endogenous attack AI script will override these triggers. You can take advantage of this by sending Scarabs into the direction of vulnerable enemies. The Scarabs will ignore their player's AI script, and attack the nearby enemies. This cannot be exploited with Interceptors; they will just fly back to their host Carrier if it is out of range.&lt;br /&gt;
&lt;br /&gt;
== Spraying effects ==&lt;br /&gt;
[[File:Picture1.png|thumb|right|Spraying effect of Interceptors from a bomb in Shrapnel Bombers.]]&lt;br /&gt;
Maps such as [[Shrapnel Bombers]] and [[Shrapnel Wars]] produce a &amp;quot;spraying effect&amp;quot;, where interceptors are seen to diverge randomly outwards. Use the same setup from the last section to spawn (and, optionally, store) subunits, and use this trigger to control their movement. &amp;quot;Start&amp;quot; is the location they should scatter outward from.&lt;br /&gt;
&lt;br /&gt;
{{StarCraft Trigger&lt;br /&gt;
|description=Subunit spray.&lt;br /&gt;
|players=&lt;br /&gt;
*Computer Player(s) ''(i.e. Player 7, Player 8)''&lt;br /&gt;
|conditions=&lt;br /&gt;
*''[Whenever you want to scatter the subunits.]''&lt;br /&gt;
|actions=&lt;br /&gt;
*Move 15 ''[Protoss Interceptor or Protoss Scarab]'' from ''Spawn or Storage'' to Start for Current Player&lt;br /&gt;
*Run AI script Junk Yard Dog at Start.&lt;br /&gt;
*Preserve trigger.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Junk Yard Dog ordinarily causes a player's movements to wander randomly. Interceptors, however, move so fast that if enough of them are used, they will move outward in a random fashion.&lt;br /&gt;
&lt;br /&gt;
As with before, the endogenous AI used by the subunits can be exploited to make the subunits attack nearby enemies. You can also exploit an Interceptor's endogenous AI; simply move its host Carrier out of range and in the direction you wish to send the Interceptor. This mainly requires tedious triggering, as many locations are required if you wish to move your interceptors in different directions.&lt;br /&gt;
&lt;br /&gt;
== Direct Damage System ==&lt;br /&gt;
{{main|Direct Damage System}}&lt;br /&gt;
It is possible to forcibly detonate a Protoss Scarab at any arbitrary location. Scarabs explode when a Move Unit action attempts to move them to unwalkable [[terrain]]. These detonations deal splash damage to the Scarab's enemies; it effectively allows mappers to damage a unit without already knowing its health.&lt;br /&gt;
&lt;br /&gt;
=== Triggers ===&lt;br /&gt;
&lt;br /&gt;
Assuming you have a location centered on an enemy called &amp;quot;Enemy&amp;quot;, and the enemy under the location &amp;quot;arena&amp;quot;.&lt;br /&gt;
{{StarCraft Trigger&lt;br /&gt;
|description=Trigger #1. Moving the Scarab to the unplaceable terrain&lt;br /&gt;
|players=&lt;br /&gt;
*''???''&lt;br /&gt;
|conditions=&lt;br /&gt;
*Current Player brings at least 1 Scarab to [location: arena]&lt;br /&gt;
|actions=&lt;br /&gt;
*Move all Scarabs from [location: arena] to [location: Unplaceable terran]&lt;br /&gt;
*Preserve Trigger&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{StarCraft Trigger&lt;br /&gt;
|description=Trigger #2. Moving the Scarab to the unit in which you want to damage&lt;br /&gt;
|players=&lt;br /&gt;
*''???''&lt;br /&gt;
|conditions=&lt;br /&gt;
*''When you are damaging the enemy''&lt;br /&gt;
|actions=&lt;br /&gt;
*Move all Scarabs from [location: Storage] to [location: Enemy]&lt;br /&gt;
*Preserve Trigger&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
The trigger order here is important. For some reason, exploding the Scarab by moving it to an unwalkable area only works after one trigger cycle. Therefore, the trigger that moves it to an unwalkable area has to be positioned before the trigger which moves the Scarab next to the enemy.&lt;br /&gt;
Because the Scarab is caused to explode, one can use human players! You can also allow Scarab damage to be upgraded, making the spell do more damage.&lt;br /&gt;
&lt;br /&gt;
This system is first described here: [http://www.staredit.net/topic/8240/0/ Direct damage system thread]. &lt;br /&gt;
&lt;br /&gt;
A test map by JaFF is also available: [http://www.staredit.net/topic/8240/2/#170456 Test map of new DDS]&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Wormer</name></author>	</entry>

	</feed>