HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Enabling Bounty

03-14-2004, 05:38 PM#1
soul_suicide
I am designing a 4 player map, kind of AoS, I was wondering how i make it so if I kill an enemy unit (not a creep) i get a bounty?


Any help would be greatly appreciated, thnx
03-14-2004, 05:40 PM#2
Kamux
Set the stats-bounty awarded to what you want from the specific unit under the object editor.
03-14-2004, 05:46 PM#3
soul_suicide
thnx for the effort, that wasn't quite what i meant. i wanted to enable units to give bounty not change thier value, i just figured it out. set player flag on/off enable player(X) to give bounty
03-15-2004, 12:08 PM#4
Crossblade_XX
try something along the lines of

event- a unit dies
condition- owner of triggering unit is equal to player 1 (or whoever)
action- if then else (multi)
condition- unit type of triggering unit is equal to (one of the units you want a bounty for)
action- add (however much gold you want for killing that unit) to (owner of (killing unit)) current gold
else- if then else (multi)
repeat above until youve covered every unit type you want a bounty for.

that method requires making a serperate trigger for each of the 4 players, a simple copy-paste job, but you can also compress it into one long trigger using more if then elses conditions instead of the condition in the trigger itself. above is a pretty simple trigger that can be made even simpler if you need it to be.