Difference between revisions of "Set Doodad State"
m (1 revision imported: Restoring SC1 backup) |
m (removing categ trigger actions) |
||
Line 485: | Line 485: | ||
[[Category:StarCraft]] | [[Category:StarCraft]] | ||
[[Category:Reference]] | [[Category:Reference]] | ||
− |
Revision as of 02:12, 6 August 2015
Set Doodad State is a trigger action in StarCraft. It was originally intended for use with doodad units. When used on other units (via the use of a third-party map editor), it can cause a number of strange effects, though the two most common are the cloaking of non-cloakable units and game crashes.
Background
Some doodads on the Installation tileset have unit sprites attached to them; these unit sprites function quite similarly to ordinary units. The units include doors and "trap" units that attack when hostiles approach. Set Doodad State was designed to allow mappers to manipulate and script the behaviors of these units.
Set Doodad State lets a mapper enable or disable a unit. When door units are enabled, they close; disabling them causes them to open, and let other units pass. Trap units engage and enter their attack states when enabled; disabling them causes them to withdraw.
When used on non-doodad units, however, the trigger action essentially causes the execution of non-existent game scripts. Essentially, this is an example of undefined behavior.
Effects by unit
The following units labeled "cloaks" will almost always cloak when disabled, though some may experience other quirks.
Note that buildings must be detected or otherwise seen by a player before cloaking (and then they only appear cloaked to that player and anyone that shares vision of them). Protoss buildings must also either be powered by a Protoss Pylon or enabled (before being disabled). Terran add-ons must be attached to their host building to cloak. All cloaked buildings will be visible in the light fog of war that covers areas that a player has explored but doesn't have vision of.
Certain overlays (such as on beacons, powered shield batteries, or building fire) will still be visible when the unit is cloaked. This is useful for creating certain effects like burning trees or lights.
Some units cannot be placed on a map for various reasons (or do not appear during gameplay), and hence cannot be tested. These units are marked as "Unknown/unused".
Disabled powerups can not be picked up.
Name | UnitID | Type | Effect | Notes |
---|---|---|---|---|
Terran Marine | 0 | Unit | Cloaks | Cloaks with animation |
Terran Ghost | 1 | Unit | Cloaks | Cloaks with animation |
Terran Vulture | 2 | Unit | Crashes | |
Terran Goliath | 3 | Unit | Crashes | |
Goliath Turret | 4 | Crash | Unknown/unused | |
Terran Siege Tank (Tank Mode) | 5 | Unit | Cloaks | Cloaks with animation |
Tank Turret (Tank Mode) | 6 | Crash | Unknown/unused | |
Terran SCV | 7 | Unit | Crashes | |
Terran Wraith | 8 | Unit | Crashes | |
Terran Science Vessel | 9 | Unit | Crashes | |
Gui Montang (Firebat) | 10 | Unit | Cloaks | |
Terran Dropship | 11 | Unit | Crashes | |
Terran Battlecruiser | 12 | Unit | Crashes | |
Vulture Spider Mine | 13 | Unit | No effect | |
Nuclear Missile | 14 | Unit | Cloaks | |
Terran Civilian | 15 | Unit | Crashes | |
Sarah Kerrigan (Ghost) | 16 | Unit | Cloaks | Cloaks with animation |
Alan Schezar (Goliath) | 17 | Unit | Crashes | |
Alan Turret | 18 | Crash | Unknown/unused | |
Jim Raynor (Vulture) | 19 | Unit | Crashes | |
Jim Raynor (Marine) | 20 | Unit | Cloaks | Cloaks with animation |
Tom Kazansky (Wraith) | 21 | Unit | Crashes | |
Magellan (Science Vessel) | 22 | Unit | Crashes | |
Edmund Duke (Siege Tank) | 23 | Unit | Cloaks | Cloaks with animation |
Duke Turret | 24 | Crash | Unknown/unused | |
Edmund Duke (Siege Mode) | 25 | Unit | Crashes | |
Duke Turret | 26 | Crash | Unknown/unused | |
Arcturus Mengsk (Battlecruiser) | 27 | Unit | Crashes | |
Hyperion (Battlecruiser) | 28 | Unit | Crashes | |
Norad II (Battlecruiser) | 29 | Unit | Crashes | |
Terran Siege Tank (Siege Mode) | 30 | Unit | Crashes | |
Tank Turret (Siege Mode) | 31 | Crash | Unknown/unused | |
Terran Firebat | 32 | Unit | Cloaks | |
Scanner Sweep | 33 | Spell | No effect | |
Terran Medic | 34 | Unit | Crashes | |
Zerg Larva | 35 | Unit | Crashes | |
Zerg Egg | 36 | Unit | Disappears | Unstable |
Zerg Zergling | 37 | Unit | Crashes | |
Zerg Hydralisk | 38 | Unit | Crashes | |
Zerg Ultralisk | 39 | Unit | Crashes | |
Zerg Broodling | 40 | Unit | Disappears with animation | Unstable |
Zerg Drone | 41 | Unit | Crashes | |
Zerg Overlord | 42 | Unit | Crashes | |
Zerg Mutalisk | 43 | Unit | Crashes | |
Zerg Guardian | 44 | Unit | Crashes | |
Zerg Queen | 45 | Unit | Crashes | |
Zerg Defiler | 46 | Unit | Crashes | |
Zerg Scourge | 47 | Unit | Crashes | |
Torrarsque (Ultralisk) | 48 | Unit | Crashes | |
Matriarch (Queen) | 49 | Unit | Crashes | |
Infested Terran | 50 | Unit | Crashes | |
Infested Kerrigan | 51 | Unit | Crashes | |
Unclean One (Defiler) | 52 | Unit | Crashes | |
Hunter Killer (Hydralisk) | 53 | Unit | Crashes | |
Devouring One (Zergling) | 54 | Unit | Crashes | |
Kukulza (Mutalisk) | 55 | Unit | Crashes | |
Kukulza (Guardian) | 56 | Unit | Crashes | |
Yggdrasill (Overlord) | 57 | Unit | Crashes | |
Terran Valkyrie | 58 | Unit | Crashes | |
Cocoon | 59 | Unit | Crashes | |
Protoss Corsair | 60 | Unit | Crashes | |
Protoss Dark Templar | 61 | Unit | Crashes | |
Zerg Devourer | 62 | Unit | Crashes | |
Protoss Dark Archon | 63 | Unit | Crashes | |
Protoss Probe | 64 | Unit | Crashes | |
Protoss Zealot | 65 | Unit | Crashes | |
Protoss Dragoon | 66 | Unit | Crashes | |
Protoss High Templar | 67 | Unit | Crashes | |
Protoss Archon | 68 | Unit | Crashes | |
Protoss Shuttle | 69 | Unit | Crashes | |
Protoss Scout | 70 | Unit | Crashes | |
Protoss Arbiter | 71 | Unit | Crashes | |
Protoss Carrier | 72 | Unit | Crashes | |
Protoss Interceptor | 73 | Unit | Cloaks | |
Dark Templar (Hero) | 74 | Unit | Crashes | |
Zeratul (Dark Templar) | 75 | Unit | Crashes | |
Tassadar/Zeratul (Archon) | 76 | Unit | Crashes | |
Fenix (Zealot) | 77 | Unit | Crashes | |
Fenix (Dragoon) | 78 | Unit | Crashes | |
Tassadar (Templar) | 79 | Unit | Crashes | |
Mojo (Scout) | 80 | Unit | Crashes | |
Warbringer (Reaver) | 81 | Unit | Crashes | |
Gantrithor (Carrier) | 82 | Unit | Crashes | |
Protoss Reaver | 83 | Unit | Crashes | |
Protoss Observer | 84 | Unit | Crashes | |
Protoss Scarab | 85 | Unit | Cloaks | Cloaks with animation |
Danimoth (Arbiter) | 86 | Unit | Crashes | |
Aldaris (Templar) | 87 | Unit | Crashes | |
Artanis (Scout) | 88 | Unit | Crashes | |
Rhynadon (Badlands Critter) | 89 | Unit | Crashes | |
Bengalaas (Jungle Critter) | 90 | Unit | Crashes | |
Unused - Was Cargo Ship | 91 | Special | Crashes | |
Unused - Was Mercenary Gunship | 92 | Special | Crashes | |
Scantid (Desert Critter) | 93 | Unit | Crashes | |
Kakaru (Twilight Critter) | 94 | Unit | Crashes | |
Ragnasaur (Ashworld Critter) | 95 | Unit | Crashes | |
Ursadon (Ice World Critter) | 96 | Unit | Crashes | |
Lurker Egg | 97 | Unit | Crashes | |
Raszagal (Corsair) | 98 | Unit | Crashes | |
Samir Duran (Ghost) | 99 | Unit | Cloaks | Cloaks with animation |
Alexei Stukov (Ghost) | 100 | Unit | Cloaks | Cloaks with animation |
Map Revealer | 101 | Special | Unknown/unused | |
Gerard DuGalle (Battlecruiser) | 102 | Unit | Crashes | |
Zerg Lurker | 103 | Unit | Crashes | |
Infested Duran | 104 | Unit | Cloaks | Cloaks with animation |
Disruption Web | 105 | Spell | No effect | |
Terran Command Center | 106 | Building | Crashes | |
Terran Comsat Station | 107 | Building | Crashes | |
Terran Nuclear Silo | 108 | Building | Cloaks | |
Terran Supply Depot | 109 | Building | Cloaks | |
Terran Refinery | 110 | Building | Crashes | |
Terran Barracks | 111 | Building | Cloaks | |
Terran Academy | 112 | Building | Crashes | |
Terran Factory | 113 | Building | Cloaks | |
Terran Starport | 114 | Building | Crashes | |
Terran Control Tower | 115 | Building | Cloaks | |
Terran Science Facility | 116 | Building | Crashes | Disappears |
Terran Covert Ops | 117 | Building | Crashes | |
Terran Physics Lab | 118 | Building | Crashes | |
Unused - Was Starbase? | 119 | Crash | Unknown/unused | |
Terran Machine Shop | 120 | Building | Crashes | |
Unused - Was Repair Bay? | 121 | Crash | Unknown/unused | |
Terran Engineering Bay | 122 | Building | Cloaks | |
Terran Armory | 123 | Building | Crashes | |
Terran Missile Turret | 124 | Building | Crashes | |
Terran Bunker | 125 | Building | Cloaks | |
Norad II (Crashed Battlecruiser) | 126 | Building | Crashes | |
Ion Cannon | 127 | Building | Cloaks | Base unit has no shadow |
Uraj Crystal | 128 | Powerup | Cloaks | |
Khalis Crystal | 129 | Powerup | Cloaks | |
Infested Command Center | 130 | Building | Crashes | |
Zerg Hatchery | 131 | Building | Crashes | |
Zerg Lair | 132 | Building | Crashes | |
Zerg Hive | 133 | Building | Crashes | |
Zerg Nydus Canal | 134 | Building | Crashes | |
Zerg Hydralisk Den | 135 | Building | Crashes | |
Zerg Defiler Mound | 136 | Building | Crashes | |
Zerg Greater Spire | 137 | Building | Crashes | |
Zerg Queen's Nest | 138 | Building | Crashes | |
Zerg Evolution Chamber | 139 | Building | Crashes | |
Zerg Ultralisk Cavern | 140 | Building | Crashes | |
Zerg Spire | 141 | Building | Crashes | |
Zerg Spawning Pool | 142 | Building | Crashes | |
Zerg Creep Colony | 143 | Building | Crashes | |
Zerg Spore Colony | 144 | Building | Crashes | |
Unused Zerg Building | 145 | Crash | Unknown/unused | |
Zerg Sunken Colony | 146 | Building | Crashes | |
Zerg Overmind (With Shell) | 147 | Building | Cloaks | Base unit has no shadow |
Zerg Overmind | 148 | Building | Crashes | |
Zerg Extractor | 149 | Building | Crashes | |
Mature Chrysalis | 150 | Building | Crashes | |
Zerg Cerebrate | 151 | Building | Crashes | |
Zerg Cerebrate Daggoth | 152 | Building | Crashes | |
Unused Zerg Building 5 | 153 | Crash | Unknown/unused | |
Protoss Nexus | 154 | Building | Crashes | |
Protoss Robotics Facility | 155 | Building | Cloaks | |
Protoss Pylon | 156 | Building | Crashes | |
Protoss Assimilator | 157 | Building | Cloaks | |
Unused Protoss Building | 158 | Crash | Unknown/unused | |
Protoss Observatory | 159 | Building | Cloaks | |
Protoss Gateway | 160 | Building | Cloaks | |
Unused Protoss Building | 161 | Crash | Unknown/unused | |
Protoss Photon Cannon | 162 | Building | Cloaks | |
Protoss Citadel of Adun | 163 | Building | Cloaks | |
Protoss Cybernetics Core | 164 | Building | Cloaks | |
Protoss Templar Archives | 165 | Building | Cloaks | |
Protoss Forge | 166 | Building | Cloaks | |
Protoss Stargate | 167 | Building | Cloaks | Overlay visible (when powered) |
Stasis Cell/Prison | 168 | Building | Cloaks | |
Protoss Fleet Beacon | 169 | Building | Cloaks | |
Protoss Arbiter Tribunal | 170 | Building | Cloaks | |
Protoss Robotics Support Bay | 171 | Building | Cloaks | |
Protoss Shield Battery | 172 | Building | Cloaks | Overlay visible (when powered) |
Khaydarin Crystal Formation | 173 | Building | Cloaks | |
Protoss Temple | 174 | Building | Cloaks | |
Xel'Naga Temple | 175 | Building | Crashes | |
Mineral Field (Type 1) | 176 | Building | Crashes | Crashes with animation |
Mineral Field (Type 2) | 177 | Building | Crashes | Crashes with animation |
Mineral Field (Type 3) | 178 | Building | Crashes | Crashes with animation |
Cave | 179 | Crash | Unknown/unused | |
Cave-in | 180 | Crash | Unknown/unused | |
Cantina | 181 | Crash | Unknown/unused | |
Mining Platform | 182 | Crash | Unknown/unused | |
Independant Command Center | 183 | Crash | Unknown/unused | |
Independant Starport | 184 | Special | Unknown/unused | |
Jump Gate | 185 | Crash | Unknown/unused | |
Ruins | 186 | Crash | Unknown/unused | |
Kyadarin Crystal Formation | 187 | Crash | Unknown/unused | |
Vespene Geyser | 188 | Building | Crashes | |
Warp Gate | 189 | Building | Crashes | |
PSI Disruptor | 190 | Building | Crashes | |
Zerg Marker | 191 | Crash | Unknown/unused | |
Terran Marker | 192 | Crash | Unknown/unused | |
Protoss Marker | 193 | Crash | Unknown/unused | |
Zerg Beacon | 194 | Building | Cloaks | Overlay visible |
Terran Beacon | 195 | Building | Cloaks | Overlay visible |
Protoss Beacon | 196 | Building | Cloaks | Overlay visible |
Zerg Flag Beacon | 197 | Building | Cloaks | Overlay visible |
Terran Flag Beacon | 198 | Building | Cloaks | Overlay visible |
Protoss Flag Beacon | 199 | Building | Cloaks | Overlay visible |
Power Generator | 200 | Building | Crashes | |
Overmind Cocoon | 201 | Building | Crashes | |
Dark Swarm | 202 | Spell | No effect | |
Floor Missile Trap | 203 | Doodad | Doodad unit; disengages | |
Floor Hatch | 204 | Doodad | Doodad unit; disengages and cloaks | |
Left Upper Level Door | 205 | Doodad | Doodad unit; disengages | |
Right Upper Level Door | 206 | Doodad | Doodad unit; disengages | |
Left Pit Door | 207 | Doodad | Doodad unit; disengages | |
Right Pit Door | 208 | Doodad | Doodad unit; disengages | |
Floor Gun Trap | 209 | Doodad | Doodad unit; disengages | |
Left Wall Missile Trap | 210 | Doodad | Doodad unit; disengages | |
Left Wall Flame Trap | 211 | Doodad | Doodad unit; disengages | |
Right Wall Missile Trap | 212 | Doodad | Doodad unit; disengages | |
Right Wall Flame Trap | 213 | Doodad | Doodad unit; disengages | |
Start Location | 214 | Special | Unknown/unused | |
Flag | 215 | Powerup | No effect | |
Young Chrysalis | 216 | Powerup | Cloaks | |
Psi Emitter | 217 | Powerup | Cloaks | |
Data Disc | 218 | Powerup | Cloaks | |
Khaydarin Crystal | 219 | Powerup | Cloaks | |
Mineral Cluster Type 1 | 220 | Powerup | Cloaks | |
Mineral Cluster Type 2 | 221 | Powerup | Cloaks | |
Protoss Vespene Gas Orb Type 1 | 222 | Powerup | Cloaks | |
Protoss Vespene Gas Orb Type 2 | 223 | Powerup | Cloaks | |
Zerg Vespene Gas Sac Type 1 | 224 | Powerup | Cloaks | |
Zerg Vespene Gas Sac Type 2 | 225 | Powerup | Cloaks | |
Terran Vespene Gas Tank Type 1 | 226 | Powerup | Cloaks | |
Terran Vespene Gas Tank Type 2 | 227 | Powerup | Cloaks |