Do not tell me to look in the tutorials because I did. I did it and it wouldnt work. If I killed 1 unit it would automatically start adding one and wouldnt stop. I need one where if I kill 5 units you get 1 mineral. Thank you.
If you can't understand the tutorial, I first of all suggest lowering your map making skill. Any player with 'average' skill could help you with this.
The triggers you should use are something like this:
Conditions:
Player Kills score is at least 1.
Actions:
Modify score for Player: Set to 0 Kills.
Modify score for Player: Add 1 to Custom.
Preserve Trigger.
Conditions:
Player Custom score is at least 5.
Actions:
Modify score for Player: Set to 0 Custom.
Modify resources for Player: Add 5 Minerals.
Yes, and don't forget... Use AT LEAST , never Use "EXACTLY" IT's screw it all when you have a splash unit...
Thank you but im not changeing my skill level. It's the first time iv'e actually needed this for a map.
It's okay,I had the same problem in my first Def map...
with chuiu's method you'd best use hyper triggers, else it wont work fast enough unless the players are getting kills really slowly.
If your doing a defence map, I suggest the following method it's one I've used in the past with some success.
you'll need a kills to cash trigger for every level, and it wont work right if you have units with difrent point values in the same level. What you do is quite simple, for each level you make, you have a trigger with the condition of that level being active and a player having a killscore of at least as many points as the units in that level are worth. You then subtract the value of that unit in killpoints, and add one custom, when custom points are > five, subtract one custom and add one resource.
Also, if you want the players to have a leader board showing Kills, you would add a razing point with each kill, and use the razing leader board.