• 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.

Sharing bounty

Status
Not open for further replies.
Level 14
Joined
Nov 4, 2006
Messages
1,241
disable cash bounty, and make a trigger

  • Events
    • Unit - A Unit dies
  • Conditions
    • owner of killing unit is an enemy of owner of triggering unit
  • Actions
    • pick ever Player in all allies of owner of killing unit and do actions
      • Loop Actions
        • add (point value of killed unit)/3 to picked players current gold
 
Level 13
Joined
Jul 3, 2008
Messages
1,098
Not way by bounty but by trigger for example you kills a neutral creep and from that creep is bounty 30 so you make:
event:
unit-unit is killed
condition:
diyng unit equal to creep with bounty 30
actions:
remove 30 gold to ovner of killing unit
add 10 gold to alies of ovner of killing unit
 
Level 7
Joined
Jul 1, 2008
Messages
1,025
disable cash bounty, and make a trigger

  • Events
    • Unit - A Unit dies
  • Conditions
    • owner of killing unit is an enemy of owner of triggering unit
  • Actions
    • pick ever Player in all allies of owner of killing unit and do actions
      • Loop Actions
        • add (point value of killed unit)/3 to picked players current gold

ty I will try that! Is there a way to get the text that pops up when they kill a bounty aswel, so they know how much gold they're getting.
 
Level 13
Joined
Jul 3, 2008
Messages
1,098
add to your trigger
  • Actions
    • Floating Text - Create floating text that reads How much you want at (Position of (Dying unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
    • Wait 2.00 seconds
    • Floating Text - Destroy (Last created floating text)
 
Status
Not open for further replies.
Top