• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Money drop?

Status
Not open for further replies.
Level 12
Joined
May 30, 2009
Messages
829
This convenient yet simple trigger allows the enabling of bounty for all players:

  • Bounty On
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for (Player((Integer A)))
Now Player 1 to 12 receives bounty! Note that turning on bounty simply enables the gold gain during the slaying of creeps, it does not affect the amount of gold the player receives when killing a specific unit. To change the amount of bounty a unit gives, go to the object editor and change the line Stats - Gold Bounty Awarded. Lumber can also be given. Change the integers 1 and 12 to any number you wish according to the players who are to receive bounty. (Example: Player 2, Player 6, and all the players between those two players are to receive bounty, you would edit the "Bounty On" trigger to this:
  • Bounty On
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 2 to 6, do (Actions)
        • Loop - Actions
          • Player - Turn Gives bounty On for (Player((Integer A)))
If you didn't get this you could do it like deagLeRulzZ stated above. (less efficient apparently, unless of course you want to enable bounty for only a single player)

Summary: Turn bounty on with the trigger, change the bounty resource that a specific unit gives with the object editor. :thumbs_up:
 
Status
Not open for further replies.
Top