Quote Originally Posted by jedimaster86 View Post
Hey, well I looked it up some, and tested it myself, and this seems to work:

Code:
CONDITION
-Player 1 Kills score is at least 1.
ACTIONS
-Modify resources for Player 1: Add 1 Ore.
-Modify score for Player 1: Set to 0 Kills.
-Preserve Trigger
This should do the trick, good luck! If you have other triggers that conflict with this one, I don't know what to tell ya - I don't really know much about SC map-making, I havn't done it in a long time, and when I made any, they were really basic and only made for myself.

This does work, yes, but just in case you want to have varying amounts of money for different types of units, use this.
Code:
Players:
[Whichever player you want]
Conditions:
[Current Player] [kills] score is [exactly] [50].
Actions:
Modify resources for [Current Player]: [Add] [1] [ore].
Modify score for [Current Player]: [Set to] [0] [kills]
Preserve Trigger.
The only difference from jedimaster86's trigger is that you can make different units give different amounts of money. Simply edit the condition field for each unit. However, to avoid bugs, I would recommend using hyper triggers.