The code looks like this :
-- Snippet from DeathTableAddom.scx by jjf28
Trigger {
players = {P1},
conditions = {
Always();
},
actions = {
GiveUnits(1, 2547, P3, "Anywhere", P1);
GiveUnits(2, 2635, P12, "Anywhere", P1);
GiveUnits(1, 2547, P3, "Anywhere", P5);
GiveUnits(2, 2635, P1, "Anywhere", P12);
GiveUnits(1, "Protoss Carrier", P5, "Anywhere", P7);
GiveUnits(1, "Protoss Carrier", P7, "Anywhere", P5);
GiveUnits(1, 2547, P3, "Anywhere", P1);
GiveUnits(2, 2635, P12, "Anywhere", P1);
GiveUnits(1, 2547, P3, "Anywhere", P5);
GiveUnits(2, 2635, P1, "Anywhere", P12);
GiveUnits(2, 2635, P1, "Anywhere", P12);
GiveUnits(1, "Protoss Carrier", P5, "Anywhere", P7);
GiveUnits(1, "Protoss Carrier", P7, "Anywhere", P5);
Comment("Subtract 10 from Target");
},
}
Deaths and SetDeaths action format :
Deaths(player, modifier, number, unit)
SetDeaths(player, modifier, number, unit)
modifier : SetTo, Add, Subtract supported
numeric values supported for all fields.