Eh, I think I understand that Kills to Cash perfect
So it checks who has the most kills, and if it's one of the players the player gets rewarded and everyone else gets a kill?
I'm trying to make a zealot worth 250 exp for players 1-4:
Trigger("Player 1","Player 2","Player 3","Player 4")
Conditions:
Always();
Actions:
Set Switch("Switch1", set);
Preserve Trigger();
//-----------------------------------------------------------------//
Trigger("Player 1","Player 2","Player 3","Player 4")
Conditions:
Most Kills("Protoss Zealot");
Actions:
Set Switch("Switch1", clear);
Preserve Trigger();
//-----------------------------------------------------------------//
Trigger("Player 1","Player 2","Player 3","Player 4")
Conditions:
Switch("Switch1", set);
Actions:
Set Switch("Switch2", set);
Preserve Trigger();
//-----------------------------------------------------------------//
Trigger("Player 1","Player 2","Player 3","Player 4")
Conditions:
Deaths("Current Player", "Alan Schezar (Goliath)", At least, 1);
Actions:
Set Deaths("Current Player", "Alan Schezar (Goliath)", Subtract, 1);
Move Location("Current Player", "Tassadar/Zeratul (Archon)", "Anywhere", "update");
Create Unit with Properties("Player 5", "Protoss Zealot", 1, "update", 2);
Preserve Trigger();
//-----------------------------------------------------------------//
Trigger("Player 1","Player 2","Player 3","Player 4")
Conditions:
Switch("Switch2", set);
Most Kills("Protoss Zealot");
Deaths("All players", "Alan Schezar (Goliath)", At most, 0);
Bring("All players", "Protoss Zealot", "updatearea", Exactly, 0);
Actions:
Set Deaths("All players", "Alan Schezar (Goliath)", Add, 1);
Set Deaths("Current Player", "Alan Schezar (Goliath)", Subtract, 1);
Set Deaths("Player 5", "Alan Schezar (Goliath)", Subtract, 1);
Set Score("Player 1", Subtract, 200, Total);
Set Score("Player 2", Subtract, 200, Total);
Set Score("Player 3", Subtract, 200, Total);
Set Score("Player 4", Subtract, 200, Total);
Set Score("Current Player", Add, 250, Total);
Set Switch("Switch2", clear);
Preserve Trigger();
Comment("reward");
It isn't working =S
The zealots keep on spawning, and I don't get what I'm doing wrong T_T
None.