thanks for the duplicator, it'll help A LOT!!!!!!
but....theres a problem with a trigger i wrote and i'm having trouble firguring out whsats wrong with it.
Trigger("Player 1"){
Conditions:
Command("Current Player", "Terran Civilian", Exactly, 0);
Switch("civi food stock minus", set);
Actions:
Give Units to Player("Player 11", "Current Player", "Terran Civilian", All, "Anywhere");
Set Switch("civi food stock minus", clear);
Comment("civi food stock minus end");
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("civi food stock minus", set);
Command("Current Player", "Terran Civilian", At least, 8);
Bring("Current Player", "Vespene Orb (Protoss Type 1)", "team 1 food stuffs", At least, 1);
Actions:
Give Units to Player("Current Player", "Player 11", "Terran Civilian", 8, "Anywhere");
Kill Unit At Location("Current Player", "Vespene Orb (Protoss Type 1)", 1, "team 1 food stuffs");
Preserve Trigger();
Comment("P1 civi 8 feed");
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Command("Current Player", "Terran Civilian", At least, 1);
Switch("civi food stock minus", set);
Bring("Current Player", "Vespene Tank (Terran Type 1)", "team 1 food stuffs", At least, 1);
Actions:
Give Units to Player("Current Player", "Player 11", "Terran Civilian", 1, "Anywhere");
Kill Unit At Location("Current Player", "Vespene Tank (Terran Type 1)", 1, "team 1 food stuffs");
Preserve Trigger();
Comment("P1 civi 1 feed");
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("civi food stock minus", set);
Command("Current Player", "Terran Civilian", At most, 7);
Command("Current Player", "Terran Civilian", At least, 1);
Bring("Current Player", "Vespene Orb (Protoss Type 1)", "team 1 food stuffs", At least, 1);
Actions:
Kill Unit At Location("Current Player", "Vespene Orb (Protoss Type 1)", 1, "team 1 food stuffs");
Create Unit("Current Player", "Vespene Tank (Terran Type 1)", 8, "team 1 food stuffs");
Preserve Trigger();
Comment("p1 feed civi food bushle conversion");
}
//-----------------------------------------------------------------//
the point of these triggers is to subtract food from the "food stock" for each scv, drone, probe, and civi the player owns (i have a copy of the trigger for each different unit) whenever the "season count down timer" hits 0. (there's a trigger that sets the "civi food stock minus" switch) . in the "food stock" location, there are two types of units. vespene tanks, and cubes. the cubes feed 8, and the tanks feed one. (i have a trigger that'll destroy 8 tanks and create 1 cube when-ever theres more than 7 tanks)
when i tested the trigger, when the timer hit 0, 3 cubes were destroyed, followed by three more, then two. (it started at 8 total) it seames to me the the "civi food stock minus" switch isn't clearing in the first trigger. can anyone tell me why?
None.