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

[Trigger] My Bounty Trigger Isn't Working!

Status
Not open for further replies.
Level 3
Joined
May 8, 2008
Messages
38
I have this, but when I any unit dies (including enemies) I see +25, but I don't get the gold. Also, I can see other people's +25 when they kill an enemy.

  • Kill Bounty
    • Events
      • Unit - A unit Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Owner of (Triggering unit)) Equal to Player 1 (Red)
          • (Owner of (Triggering unit)) Equal to Player 2 (Blue)
          • (Owner of (Triggering unit)) Equal to Player 3 (Teal)
          • (Owner of (Triggering unit)) Equal to Player 4 (Purple)
    • Actions
      • Player - Add (Point-value of (Dying unit)) to (Owner of (Killing unit)) Current gold
      • Floating Text - Create floating text that reads +25 above (Triggering unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Floating Text - Change the color of (Last created floating text) to (100.00%, 100.00%, 0.00%) with 0.00% transparency
      • Floating Text - Hide (Last created floating text) for (All enemies of (Picked player))
      • 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 1.00 seconds
Is there anything wrong with it?
 
Level 4
Joined
Sep 9, 2004
Messages
112
IMO..just change this..
  • Player - Add (Point-value of (Dying unit)) to (Owner of (Killing unit)) Current gold
to this..
  • Player - Add 25 to (Owner of (Killing unit)) Current gold
 
Level 3
Joined
May 8, 2008
Messages
38
IMO..just change this..
  • Player - Add (Point-value of (Dying unit)) to (Owner of (Killing unit)) Current gold
to this..
  • Player - Add 25 to (Owner of (Killing unit)) Current gold

That worked! Thanks. Now I just need to figure out why I can still see +25 when I'M killed.
 
Level 3
Joined
May 8, 2008
Messages
38
Is the "POint value of Dying unit" equal to 25?
Eh, sorry I'm not familiar with JASS but I know that the point value of the unit is 25. Even then, my problem's solved. I still need to know why I can see other people's +25 when they kill someone.
 
Level 4
Joined
Sep 9, 2004
Messages
112
That worked! Thanks. Now I just need to figure out why I can still see +25 when I'M killed.

Try changing this..
  • Floating Text - Hide (Last created floating text) for (All enemies of (Picked player))
to this..
  • Floating Text - Hide (Last created floating text) for (All enemies of (Owner of unit (Killing Unit)))
Eh, sorry I'm not familiar with JASS but I know that the point value of the unit is 25. Even then, my problem's solved. I still need to know why I can see other people's +25 when they kill someone.

Actually its not jass.. If I'm not mistaken its a line in the Object Editor for every unit..
And you shouldn't double post, just edit your existing one.
 
Level 3
Joined
May 8, 2008
Messages
38
Try changing this..
  • Floating Text - Hide (Last created floating text) for (All enemies of (Picked player))
to this..
  • Floating Text - Hide (Last created floating text) for (All enemies of (Owner of unit (Killing Unit)))


Actually its not jass.. If I'm not mistaken its a line in the Object Editor for every unit..
And you shouldn't double post, just edit your existing one.

Duh! I couldn't find that for some reason. Now I did. Thanks a whole lot! (BTW, I upped you're reputation... =P)
 
Status
Not open for further replies.
Top