Is it possible to make lumber appear as...

azndeviboix

New Member
Reaction score
0
...gold does when you kill something for bounty awarded.

I.e. I kill something that gives 1 lumber, I want the +1 to appear like gold appears, green.

Thanks in advance.
 

Samael88

Evil always finds a way
Reaction score
181
Why don't you just use floating text?

Code:
When unit dies.

Show a floating text above dying unit's head?
 

azndeviboix

New Member
Reaction score
0
In example:
-When your mining gold from your gold mine, the amount of gold you get rises and fades.
-When you kill a creep, the amount of gold you get rises and fades.

I want this to work with lumber and a different color (green).
 

The Arcot

New Member
Reaction score
7
I'm freehanding this, but I figure you could detect when and how much lumber to give a player with something like:

Code:
EVENTS
Unit - A unit dies.
CONDITIONS
n/a
ACTIONS
Add (point value of dying unit) to (owner of killing unit) lumber
Go through and set the point value of each unit to their respective lumber bounty, unless they all give the same amount, in which case you can change the trigger accordingly.

Like said above, you can get the number to appear by triggering for floating text. It's also a single action (under "Floating Text - Create Floating Text above unit). Go ingame and compare it against a creep with a gold bounty until they are as similar as you like.
 

Sevion

The DIY Ninja
Reaction score
413
EGUI contains a floating text addon for Gold, Lumber, Bounty, Critical, Miss, Mana Burn, and Bash.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top