I need help with randomization switches. If you are an expert i need your help. '
I opened SCMDraft and opened Trigger Editor. Here are the triggers
Trigger("Player 1"){
Conditions:
Bring("Player 1", "Zerg Zergling", "PoP", Exactly, 1);
Actions:
Set Switch("Switch0", randomize);
Set Switch("Switch1", randomize);
Set Switch("Switch2", randomize);
Set Switch("Switch3", set);
Kill Unit At Location("Player 1", "Zerg Zergling", All, "PoP");
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", not set);
Switch("Switch1", not set);
Switch("Switch2", not set);
Actions:
Set Switch("Switch3", clear);
Display Text Message(Don't Always Display, "You Rolled A 1!");
Set Deaths("Player 1", "Any unit", Add, 1);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", not set);
Switch("Switch1", not set);
Switch("Switch2", set);
Actions:
Set Switch("Switch3", clear);
Display Text Message(Don't Always Display, "You Rolled A 2!");
Set Deaths("Player 1", "Any unit", Add, 2);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", not set);
Switch("Switch1", set);
Switch("Switch2", set);
Actions:
Set Switch("Switch3", clear);
Display Text Message(Don't Always Display, "You Rolled A 3!");
Set Deaths("Player 1", "Any unit", Add, 3);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", not set);
Switch("Switch1", set);
Switch("Switch2", not set);
Actions:
Set Switch("Switch3", clear);
Display Text Message(Don't Always Display, "You Rolled A 4!");
Set Deaths("Player 1", "Any unit", Add, 4);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", set);
Switch("Switch1", set);
Switch("Switch2", set);
Actions:
Set Switch("Switch3", clear);
Display Text Message(Don't Always Display, "You Rolled A 5!");
Set Deaths("Player 1", "Any unit", Add, 5);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", set);
Switch("Switch1", not set);
Switch("Switch2", not set);
Actions:
Set Switch("Switch3", clear);
Display Text Message(Don't Always Display, "You Rolled A 6!");
Set Deaths("Player 1", "Any unit", Add, 6);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", set);
Switch("Switch1", set);
Switch("Switch2", not set);
Actions:
Set Switch("Switch0", randomize);
Set Switch("Switch1", randomize);
Set Switch("Switch2", randomize);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 1"){
Conditions:
Switch("Switch3", set);
Switch("Switch0", set);
Switch("Switch1", not set);
Switch("Switch2", set);
Actions:
Set Switch("Switch0", randomize);
Set Switch("Switch1", randomize);
Set Switch("Switch2", randomize);
Preserve Trigger();
}
//-----------------------------------------------------------------//
PS. i can give you the actualll triggers written in Classic Trigedit if needed