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

[Solved] Gold Bounty Text

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
hello hivers, I need someone to tell me how can I make the +50 text appears only for owner of killing unit

  • Merciless Gold
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Merciless
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Killing unit)) Equal to Player 1 (Red)
          • (Owner of (Killing unit)) Equal to Player 2 (Blue)
          • (Owner of (Killing unit)) Equal to Player 3 (Teal)
          • (Owner of (Killing unit)) Equal to Player 4 (Purple)
          • (Owner of (Killing unit)) Equal to Player 5 (Yellow)
          • (Owner of (Killing unit)) Equal to Player 6 (Orange)
          • (Owner of (Killing unit)) Equal to Player 7 (Green)
          • (Owner of (Killing unit)) Equal to Player 8 (Pink)
    • Actions
      • Floating Text - Create floating text that reads +50 above (Dying unit) with Z offset 0.00, using font size 10.00, color (100.00%, 80.00%, 7.00%), and 0.00% transparency
      • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
      • Floating Text - Change the fading age of (Last created floating text) to 0.75 seconds
      • Player - Add 50 to (Owner of (Killing unit)) Current gold
 
Level 18
Joined
May 11, 2012
Messages
2,103
like this?

  • Merciless Gold
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Merciless
      • (Player number of KillingForce) Less than 9
    • Actions
      • Set KillingForce = (Owner of (Killing unit))
      • Floating Text - Create floating text that reads +50 above (Dying unit) with Z offset 0.00, using font size 10.00, color (100.00%, 80.00%, 7.00%), and 0.00% transparency
      • Floating Text - Hide (Last created floating text) for (All players)
      • Floating Text - Show (Last created floating text) for (Player group(KillingForce))
      • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
      • Floating Text - Change the fading age of (Last created floating text) to 0.75 seconds
      • Player - Add 50 to (Owner of (Killing unit)) Current gold
      • Custom script: call DestroyForce(udg_KillingForce)
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Merciless Gold
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Merciless
      • (Player number of owner of killing unit) Less than 9
    • Actions
      • Set KillingForce = Player group(Owner of (Killing unit))
      • Floating Text - Create floating text that reads +50 above (Dying unit) with Z offset 0.00, using font size 10.00, color (100.00%, 80.00%, 7.00%), and 0.00% transparency
      • Floating Text - Hide (Last created floating text) for (All players)
      • Floating Text - Show (Last created floating text) for KillingForce
      • Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
      • Floating Text - Change the fading age of (Last created floating text) to 0.75 seconds
      • Player - Add 50 to (Owner of (Killing unit)) Current gold
      • Custom script: call DestroyForce(udg_KillingForce)
 
Status
Not open for further replies.
Top