12-13-2008, 05:46 AM
jedimaster86 Wrote:Hey, well I looked it up some, and tested it myself, and this seems to work:
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.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 does work, yes, but just in case you want to have varying amounts of money for different types of units, use this.
Code:
[U][B]Players:[/B][/U]
[Whichever player you want]
[U][B]Conditions:[/B][/U]
[Current Player] [kills] score is [exactly] [50].
[U][B]Actions:[/B][/U]
Modify resources for [Current Player]: [Add] [1] [ore].
Modify score for [Current Player]: [Set to] [0] [kills]
Preserve Trigger.