My Triggers
Trigger("All players"){
Conditions:
Always();
Actions:
Comment("Setting Triggers");
Set Switch("1moves horse", clear);
Set Switch("2moves horse", clear);
Set Switch("3moves horse", clear);
Set Switch("4moves horse", clear);
Set Switch("Player 1 turn", set);
Set Switch("Player 2 turn", clear);
Set Switch("Player 3 turn", clear);
Set Switch("Player 4 turn", clear);
Set Switch("1moves normal", set);
Set Switch("2moves normal", set);
Set Switch("3moves normal", set);
Set Switch("4moves normal", set);
Set Switch("player 1 stuff", set);
Set Switch("player 1 money", clear);
Set Switch("player 2 money", clear);
Set Switch("player 3 money", clear);
Set Switch("player 4 money", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Player 1 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 4", "Current Player", "Any unit", All, "Board");
Give Units to Player("Player 4", "Current Player", "Buildings", All, "Board");
Give Units to Player("Player 8", "Current Player", "Any unit", All, "Who's turn?");
Give Units to Player("Player 8", "Current Player", "Buildings", All, "Who's turn?");
Preserve Trigger();
Comment("Give player 1 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Switch("Player 2 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 5", "Current Player", "Any unit", All, "Board");
Preserve Trigger();
Comment("Give player 2 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
Set Switch("player 2 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Switch("Player 3 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 6", "Current Player", "Any unit", All, "Board");
Preserve Trigger();
Comment("Give player 3 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
Set Switch("player 3 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Player 4 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 8", "Current Player", "Any unit", All, "Board");
Preserve Trigger();
Comment("Give player 4 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
Set Switch("player 4 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Player 1 turn", set);
Switch("1moves normal", set);
Switch("player 1 stuff", set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 1 his moves");
Set Switch("player 1 stuff", clear);
Set Switch("player 1 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Switch("Player 2 turn", set);
Switch("2moves normal", set);
Switch("player 2 stuff", set);
Switch("player 2 money", not set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 2 his moves");
Set Switch("player 2 stuff", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Switch("Player 3 turn", set);
Switch("3moves normal", set);
Switch("player 3 stuff", set);
Switch("player 3 money", not set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 3 his moves");
Set Switch("player 3 stuff", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Player 4 turn", set);
Switch("4moves normal", set);
Switch("player 4 stuff", set);
Switch("player 4 money", not set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 4 his moves");
Set Switch("player 4 stuff", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 1","Player 2"){
Conditions:
Switch("Player 1 turn", set);
Accumulate("Player 1", At most, 0, gas);
Actions:
Set Switch("Player 1 turn", clear);
Comment("End of Turn 1");
Set Resources("Player 1", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Selector");
Give Units to Player("Current Player", "Player 4", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Order("Current Player", "Terran Civilian", "Board", "Moving", move);
Give Units to Player("All players", "Player 5", "Buildings", All, "Who's turn?");
Give Units to Player("Current Player", "Player 2", "Any unit", All, "commands");
Set Switch("player 2 stuff", set);
Set Switch("Player 2 turn", set);
}
//-----------------------------------------------------------------//
Trigger("Player 2","Player 3"){
Conditions:
Switch("Player 2 turn", set);
Accumulate("Player 2", Exactly, 0, gas);
Elapsed Time(At least, 3);
Actions:
Set Switch("Player 2 turn", clear);
Give Units to Player("Player 5", "Player 6", "Terran Command Center", All, "Who's turn?");
Comment("End of Turn 2");
Set Resources("Player 2", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Player 2 selector");
Set Switch("Player 3 turn", set);
Give Units to Player("Current Player", "Player 5", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Give Units to Player("Current Player", "Player 3", "Any unit", All, "commands");
Set Switch("player 3 stuff", set);
}
//-----------------------------------------------------------------//
Trigger("Player 3","Player 7"){
Conditions:
Switch("Player 3 turn", set);
Accumulate("Player 3", Exactly, 0, gas);
Elapsed Time(At least, 3);
Actions:
Set Switch("Player 3 turn", clear);
Give Units to Player("Player 6", "Player 8", "Terran Command Center", All, "Who's turn?");
Comment("End of Turn 3");
Set Resources("Player 3", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Player 3 selector");
Set Switch("Player 4 turn", set);
Give Units to Player("Current Player", "Player 6", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Give Units to Player("Current Player", "Player 7", "Any unit", All, "commands");
Set Switch("player 4 stuff", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1","Player 7"){
Conditions:
Switch("Player 4 turn", set);
Accumulate("Player 7", Exactly, 0, gas);
Elapsed Time(At least, 3);
Actions:
Set Switch("Player 4 turn", clear);
Give Units to Player("Player 8", "Player 4", "Terran Command Center", All, "Who's turn?");
Comment("End of Turn 4");
Set Resources("Player 7", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Player 4 selector");
Set Switch("Player 1 turn", set);
Give Units to Player("Current Player", "Player 8", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Give Units to Player("Current Player", "Player 1", "Any unit", All, "commands");
Set Switch("player 1 stuff", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 1", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 1 turn", set);
Actions:
Move Location("Player 1", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Bring("Player 2", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 2", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 2 turn", set);
Actions:
Move Location("Player 2", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Bring("Player 3", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 3", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 3 turn", set);
Actions:
Move Location("Player 3", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Bring("Player 7", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 7", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 4 turn", set);
Actions:
Move Location("Player 7", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Always();
Actions:
Set Resources("Current Player", Set To, 20, ore);
Comment("Start Money");
Set Resources("Current Player", Set To, 1, gas);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 1", "Any unit");
Kill Unit("Player 1", "Buildings");
Kill Unit("Player 4", "Any unit");
Kill Unit("Player 4", "Buildings");
Comment("player 1 here?");
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Bring("Player 2", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 2", "Any unit");
Kill Unit("Player 2", "Buildings");
Kill Unit("Player 5", "Any unit");
Kill Unit("Player 5", "Buildings");
Comment("player 2 here?");
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Bring("Player 3", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 3", "Any unit");
Kill Unit("Player 3", "Buildings");
Kill Unit("Player 6", "Any unit");
Kill Unit("Player 6", "Buildings");
Comment("player 3 here?");
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Bring("Player 7", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 7", "Any unit");
Kill Unit("Player 7", "Buildings");
Kill Unit("Player 8", "Any unit");
Kill Unit("Player 8", "Buildings");
Comment("player 4 here?");
}
//-----------------------------------------------------------------//
Conditions:
Always();
Actions:
Comment("Setting Triggers");
Set Switch("1moves horse", clear);
Set Switch("2moves horse", clear);
Set Switch("3moves horse", clear);
Set Switch("4moves horse", clear);
Set Switch("Player 1 turn", set);
Set Switch("Player 2 turn", clear);
Set Switch("Player 3 turn", clear);
Set Switch("Player 4 turn", clear);
Set Switch("1moves normal", set);
Set Switch("2moves normal", set);
Set Switch("3moves normal", set);
Set Switch("4moves normal", set);
Set Switch("player 1 stuff", set);
Set Switch("player 1 money", clear);
Set Switch("player 2 money", clear);
Set Switch("player 3 money", clear);
Set Switch("player 4 money", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Player 1 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 4", "Current Player", "Any unit", All, "Board");
Give Units to Player("Player 4", "Current Player", "Buildings", All, "Board");
Give Units to Player("Player 8", "Current Player", "Any unit", All, "Who's turn?");
Give Units to Player("Player 8", "Current Player", "Buildings", All, "Who's turn?");
Preserve Trigger();
Comment("Give player 1 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Switch("Player 2 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 5", "Current Player", "Any unit", All, "Board");
Preserve Trigger();
Comment("Give player 2 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
Set Switch("player 2 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Switch("Player 3 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 6", "Current Player", "Any unit", All, "Board");
Preserve Trigger();
Comment("Give player 3 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
Set Switch("player 3 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Player 4 turn", set);
Elapsed Time(At least, 3);
Actions:
Give Units to Player("Player 8", "Current Player", "Any unit", All, "Board");
Preserve Trigger();
Comment("Give player 4 his guys");
Give Units to Player("All players", "Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere");
Set Switch("player 4 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Player 1 turn", set);
Switch("1moves normal", set);
Switch("player 1 stuff", set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 1 his moves");
Set Switch("player 1 stuff", clear);
Set Switch("player 1 money", set);
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Switch("Player 2 turn", set);
Switch("2moves normal", set);
Switch("player 2 stuff", set);
Switch("player 2 money", not set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 2 his moves");
Set Switch("player 2 stuff", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Switch("Player 3 turn", set);
Switch("3moves normal", set);
Switch("player 3 stuff", set);
Switch("player 3 money", not set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 3 his moves");
Set Switch("player 3 stuff", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Switch("Player 4 turn", set);
Switch("4moves normal", set);
Switch("player 4 stuff", set);
Switch("player 4 money", not set);
Actions:
Set Resources("Current Player", Set To, 6, gas);
Preserve Trigger();
Comment("Give Player 4 his moves");
Set Switch("player 4 stuff", clear);
}
//-----------------------------------------------------------------//
Trigger("Player 1","Player 2"){
Conditions:
Switch("Player 1 turn", set);
Accumulate("Player 1", At most, 0, gas);
Actions:
Set Switch("Player 1 turn", clear);
Comment("End of Turn 1");
Set Resources("Player 1", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Selector");
Give Units to Player("Current Player", "Player 4", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Order("Current Player", "Terran Civilian", "Board", "Moving", move);
Give Units to Player("All players", "Player 5", "Buildings", All, "Who's turn?");
Give Units to Player("Current Player", "Player 2", "Any unit", All, "commands");
Set Switch("player 2 stuff", set);
Set Switch("Player 2 turn", set);
}
//-----------------------------------------------------------------//
Trigger("Player 2","Player 3"){
Conditions:
Switch("Player 2 turn", set);
Accumulate("Player 2", Exactly, 0, gas);
Elapsed Time(At least, 3);
Actions:
Set Switch("Player 2 turn", clear);
Give Units to Player("Player 5", "Player 6", "Terran Command Center", All, "Who's turn?");
Comment("End of Turn 2");
Set Resources("Player 2", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Player 2 selector");
Set Switch("Player 3 turn", set);
Give Units to Player("Current Player", "Player 5", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Give Units to Player("Current Player", "Player 3", "Any unit", All, "commands");
Set Switch("player 3 stuff", set);
}
//-----------------------------------------------------------------//
Trigger("Player 3","Player 7"){
Conditions:
Switch("Player 3 turn", set);
Accumulate("Player 3", Exactly, 0, gas);
Elapsed Time(At least, 3);
Actions:
Set Switch("Player 3 turn", clear);
Give Units to Player("Player 6", "Player 8", "Terran Command Center", All, "Who's turn?");
Comment("End of Turn 3");
Set Resources("Player 3", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Player 3 selector");
Set Switch("Player 4 turn", set);
Give Units to Player("Current Player", "Player 6", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Give Units to Player("Current Player", "Player 7", "Any unit", All, "commands");
Set Switch("player 4 stuff", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1","Player 7"){
Conditions:
Switch("Player 4 turn", set);
Accumulate("Player 7", Exactly, 0, gas);
Elapsed Time(At least, 3);
Actions:
Set Switch("Player 4 turn", clear);
Give Units to Player("Player 8", "Player 4", "Terran Command Center", All, "Who's turn?");
Comment("End of Turn 4");
Set Resources("Player 7", Set To, 1, gas);
Preserve Trigger();
Move Unit("Current Player", "Sarah Kerrigan (Ghost)", All, "Anywhere", "Player 4 selector");
Set Switch("Player 1 turn", set);
Give Units to Player("Current Player", "Player 8", "Any unit", All, "Board");
Move Location("Current Player", "Any unit", "Board", "Moving");
Give Units to Player("Current Player", "Player 1", "Any unit", All, "commands");
Set Switch("player 1 stuff", set);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 1", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 1 turn", set);
Actions:
Move Location("Player 1", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Bring("Player 2", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 2", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 2 turn", set);
Actions:
Move Location("Player 2", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Bring("Player 3", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 3", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 3 turn", set);
Actions:
Move Location("Player 3", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Bring("Player 7", "Terran Civilian", "Moving", Exactly, 0);
Bring("Player 7", "Terran Vulture", "Moving", Exactly, 0);
Elapsed Time(At least, 3);
Switch("Player 4 turn", set);
Actions:
Move Location("Player 7", "Any unit", "Board", "Moving");
Set Resources("Current Player", Subtract, 1, gas);
Preserve Trigger();
Comment("Unit Moving");
}
//-----------------------------------------------------------------//
Trigger("All players"){
Conditions:
Always();
Actions:
Set Resources("Current Player", Set To, 20, ore);
Comment("Start Money");
Set Resources("Current Player", Set To, 1, gas);
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 1", "Any unit");
Kill Unit("Player 1", "Buildings");
Kill Unit("Player 4", "Any unit");
Kill Unit("Player 4", "Buildings");
Comment("player 1 here?");
}
//-----------------------------------------------------------------//
Trigger("Player 2"){
Conditions:
Bring("Player 2", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 2", "Any unit");
Kill Unit("Player 2", "Buildings");
Kill Unit("Player 5", "Any unit");
Kill Unit("Player 5", "Buildings");
Comment("player 2 here?");
}
//-----------------------------------------------------------------//
Trigger("Player 3"){
Conditions:
Bring("Player 3", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 3", "Any unit");
Kill Unit("Player 3", "Buildings");
Kill Unit("Player 6", "Any unit");
Kill Unit("Player 6", "Buildings");
Comment("player 3 here?");
}
//-----------------------------------------------------------------//
Trigger("Player 7"){
Conditions:
Bring("Player 7", "Any unit", "PLAYER EXIST", Exactly, 0);
Actions:
Set Resources("Current Player", Set To, 0, gas);
Preserve Trigger();
Kill Unit("Player 7", "Any unit");
Kill Unit("Player 7", "Buildings");
Kill Unit("Player 8", "Any unit");
Kill Unit("Player 8", "Buildings");
Comment("player 4 here?");
}
//-----------------------------------------------------------------//
EDIT:
WHy didn't any of my coding work? I've got BBCode checked...
Post has been edited 2 time(s), last time on Sep 2 2008, 9:36 pm by JB4.
None.