HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help Me With A Trigger

07-13-2003, 11:49 PM#1
SaXaPhOnE
How do you get the trigger where when a unit kills something the player gets gold. How Does That Work?
07-13-2003, 11:53 PM#2
Guest
Event - A unit owned by player 2 dies
Condition - Killing unit owned by player 1
Action - Give player 1 100 gold.
07-13-2003, 11:57 PM#3
SaXaPhOnE
the only problem is that there are 6 players in the map...I need it to work so that each player gets the gold from their kills. So that won't work.
07-14-2003, 12:00 AM#4
Guest
ugh fine.

Event - A unit owned by player 2 dies.
Action - If killing unit is owned by (player 1) then do action (give player 1 100 gold)
If killing unit is owned by (player 3) then do action (give player 3 100 gold)
07-14-2003, 12:05 AM#5
Panto
I'm quoting roughly, here, but the question's been answered before. If you set the Bounty value for each unit to the amount of money that you want, and then use a trigger called something like "turn player bounty on" (gar, I know that's not the right wording), then it will give you gold for killing other players' units, instead of just creeps.
07-14-2003, 12:07 AM#6
Guest
but using triggers, you can have much more control over what gold you get. Thank you very much!