Make a global variabel with an array of the amount of players. Then make a trigger with a local variable, then make it trigger everytime a unit dies, and set the killing player to the local variable, then increase the global variable +1 with the array set to the local variable.
You'll need to use a trigger with the Unit Dies event and a global boolean variable array, with the size set to the number of players. At the end of the round, check whether the boolean variable is true or false for each player. If true, don't add minerals, if false, add minerals. Before each round set the boolean variable to false for everyone. The whole thing will look something like this (I'm just writing this freehand btw):
Trigger 2 (at the end of the round when you award minerals)
Pickeachplayerin(HumanPlayers)anddoIfNoMinerals[PickedPlayer]==falseThenModifyplayerPickedPlayerproperty:Add100mineralsElseSendmessagetoPickedplayer:"omgz you killed stuff no mineralz 4 u lolololol"SetNoMinerals[PickedPlayer]=false
ive been trying to look but is there any way to give a player minerals if they didnt get any kills?
Modify Player Property
@BasharTeg: Go
i dont understand, that just gives them minerals, how can i make it to give them minerals ONLY if they didnt get any kills for a wave?
Make a global variabel with an array of the amount of players. Then make a trigger with a local variable, then make it trigger everytime a unit dies, and set the killing player to the local variable, then increase the global variable +1 with the array set to the local variable.
@Exaken: Go
im sorry im really new and that was really confusing, can you break it down for me please?
You'll need to use a trigger with the Unit Dies event and a global boolean variable array, with the size set to the number of players. At the end of the round, check whether the boolean variable is true or false for each player. If true, don't add minerals, if false, add minerals. Before each round set the boolean variable to false for everyone. The whole thing will look something like this (I'm just writing this freehand btw):
Trigger 1
Trigger 2 (at the end of the round when you award minerals)
@BasharTeg: Go
thanks so much!! ill try it out once i figure out how to actually do the waves :(