Soulman999
01-09-2008, 01:30 AM
So im making a map close to WC3's Hero Line Wars and i need a trigger so i can get a certain amount of minerals for every single kill such as...
When Player1 kills a marine Player1 get 1 Mineral.
But there isnt a trigger that says every kill player1 gets so im stuck....
jedimaster86
01-09-2008, 03:59 AM
What about this setup? I dunno if it'd work, but it'd just take testing:
For the condition, choose "KILL" and say something like
Player 1 kills exactly 1 any unit.
For the action, choose "SET RESOURCES" and say something like (along with preserving the trigger)
Modify resources for Player 1: Add 1 Ore
Preserve Trigger
Soulman999
01-09-2008, 08:02 PM
nah cuz im going to be killing more than 1... that will only give 1 mineral for the first kill... i tried that already but thanks anyways :D
jedimaster86
01-10-2008, 01:55 AM
Hey, well I looked it up some, and tested it myself, and this seems to work:
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.
Soulman999
01-10-2008, 09:41 PM
thanks man... didnt think of that :D