Argument values
These are the values the enumerated arguments take, and the number each is stored as. The names in
parentheses are the other spellings the editor's text format accepts.
Comparisons#
| Name |
Stored as |
At least (also atleast, >=) |
0 |
At most (also atmost, <=) |
1 |
Exactly (also ==) |
10 |
Modifiers#
Set To replaces the value, Add and Subtract change it.
| Name |
Stored as |
Set To (also setto, set) |
7 |
| Add |
8 |
Subtract (also sub) |
9 |
Switches#
A map has 256 switches, each either set or clear, and every one starts clear. The
Switch condition tests one and Set Switch changes it. Their names
are for the editor; the game only uses the numbers.
The Switch condition's states:
| Name |
Stored as |
set (also true) |
2 |
not set (also cleared, clear, false) |
3 |
Set Switch's actions:
| Name |
Stored as |
| set |
4 |
clear (also cleared) |
5 |
| toggle |
6 |
randomize (also random, randomise) |
11 |
Resources#
| Name |
Stored as |
ore (also minerals) |
0 |
| gas |
1 |
ore and gas (also both) |
2 |
Scores#
Custom is a score only triggers change, with Set Score.
| Name |
Stored as |
| Total |
0 |
| Units |
1 |
| Buildings |
2 |
| Units and buildings |
3 |
| Kills |
4 |
| Razings |
5 |
| Kills and razings |
6 |
| Custom |
7 |
Orders#
| Name |
Stored as |
| move |
0 |
| patrol |
1 |
| attack |
2 |
Alliances#
| Name |
Stored as |
| Enemy |
0 |
Ally (also Allied) |
1 |
| Allied Victory |
2 |
States#
For Set Doodad State, Set Invincibility and Leaderboard Computer Players.
| Name |
Stored as |
enable (also enabled) |
4 |
disable (also disabled) |
5 |
| toggle |
6 |
Unit classes#
Unit arguments take a unit type (0 to 227) or one of these classes, which stand for a whole
group of types. A melee map's defeat trigger is "commands at most 0 Buildings".
| Class |
Stored as |
Any unit (also Any Unit) |
229 |
| Men |
230 |
| Buildings |
231 |
| Factories |
232 |
AI scripts#
The scripts StarEdit offers. An action stores the script's four-letter code; the
campaign's own scripts are there too, under codes this table does not name.
| Code |
Script |
TMCu |
Terran Custom Level |
ZMCu |
Zerg Custom Level |
PMCu |
Protoss Custom Level |
TMCx |
Terran Expansion Custom Level |
ZMCx |
Zerg Expansion Custom Level |
PMCx |
Protoss Expansion Custom Level |
TLOf |
Terran Campaign Easy |
TMED |
Terran Campaign Medium |
THIf |
Terran Campaign Difficult |
TSUP |
Terran Campaign Insane |
TARE |
Terran Campaign Area Town |
ZLOf |
Zerg Campaign Easy |
ZMED |
Zerg Campaign Medium |
ZHIf |
Zerg Campaign Difficult |
ZSUP |
Zerg Campaign Insane |
ZARE |
Zerg Campaign Area Town |
PLOf |
Protoss Campaign Easy |
PMED |
Protoss Campaign Medium |
PHIf |
Protoss Campaign Difficult |
PSUP |
Protoss Campaign Insane |
PARE |
Protoss Campaign Area Town |
TLOx |
Expansion Terran Campaign Easy |
TMEx |
Expansion Terran Campaign Medium |
THIx |
Expansion Terran Campaign Difficult |
TSUx |
Expansion Terran Campaign Insane |
TARx |
Expansion Terran Campaign Area Town |
ZLOx |
Expansion Zerg Campaign Easy |
ZMEx |
Expansion Zerg Campaign Medium |
ZHIx |
Expansion Zerg Campaign Difficult |
ZSUx |
Expansion Zerg Campaign Insane |
ZARx |
Expansion Zerg Campaign Area Town |
PLOx |
Expansion Protoss Campaign Easy |
PMEx |
Expansion Protoss Campaign Medium |
PHIx |
Expansion Protoss Campaign Difficult |
PSUx |
Expansion Protoss Campaign Insane |
PARx |
Expansion Protoss Campaign Area Town |
Suic |
Send All Units on Strategic Suicide Missions |
SuiR |
Send All Units on Random Suicide Missions |
Rscu |
Switch Computer Player to Rescue Passive |
+Vi0 |
Turn ON Shared Vision for Player 1 |
+Vi1 |
Turn ON Shared Vision for Player 2 |
+Vi2 |
Turn ON Shared Vision for Player 3 |
+Vi3 |
Turn ON Shared Vision for Player 4 |
+Vi4 |
Turn ON Shared Vision for Player 5 |
+Vi5 |
Turn ON Shared Vision for Player 6 |
+Vi6 |
Turn ON Shared Vision for Player 7 |
+Vi7 |
Turn ON Shared Vision for Player 8 |
-Vi0 |
Turn OFF Shared Vision for Player 1 |
-Vi1 |
Turn OFF Shared Vision for Player 2 |
-Vi2 |
Turn OFF Shared Vision for Player 3 |
-Vi3 |
Turn OFF Shared Vision for Player 4 |
-Vi4 |
Turn OFF Shared Vision for Player 5 |
-Vi5 |
Turn OFF Shared Vision for Player 6 |
-Vi6 |
Turn OFF Shared Vision for Player 7 |
-Vi7 |
Turn OFF Shared Vision for Player 8 |
MvTe |
Move Dark Templars to Region |
ClrC |
Clear Previous Combat Data |
Enmy |
Set Player to Enemy |
Ally |
Set Player to Ally |
VluA |
Value This Area Higher |
EnBk |
Enter Closest Bunker |
StTg |
Set Generic Command Target |
StPt |
Make These Units Patrol |
EnTr |
Enter Transport |
ExTr |
Exit Transport |
NuHe |
AI Nuke Here |
HaHe |
AI Harass Here |
JYDg |
Set Unit Order To: Junk Yard Dog |
DWHe |
Disruption Web Here |
ReHe |
Recall Here |