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

Floating text problem

Status
Not open for further replies.
Level 7
Joined
Jul 12, 2008
Messages
295
How can i make a floating text for every tower destroyed. On dota every tower gives +200 gold and shows the floating text(+200) only for the owners of the heroes... But im my case i've tried everything and it still doesn't work.

I like to make lvl1 towers to give +100 gold, lvl2 towers to give +200 gold and lvl3 towers to give +300 gold and i like to make only the owner of the hero to see that floating text. All heroes to get the floating text for +100,+200,+300 but only the owner of the hero to see +100,+200,+300 above his head...

I've tried but doesn't work read this: The owner(of the killing unit) of the tower doesn't get +100,+200,+300 he get's the amouth of gold that the tower gives.. I can't make this i've tried but the owner of the killing unit of the tower get's(amouth of gold that the tower gives + 100,200 or 300) Can some 1 help me or give me some advise
 
Level 8
Joined
Feb 14, 2008
Messages
364
Event is tower dies;
Condition: Killing Unit is a Hero equal to true
Action: Player- Add (100 gold) to owner of killing unit
Game- Game text: playername of owner of killing unit has destroyed a tower and received (100 gold)

I think it was that u meant, if so, please rep me :)

Moosenoir
________
Lure_into
 
Last edited:
Level 7
Joined
Jul 12, 2008
Messages
295
Hey man thanks for that reply. It will might help me some how.. What i meant was if the first towers are killed add +100 to all allied heroes and add floating text that says(+100) above the heads of all allied heroes. If the second towers are killed add +200 to all allied heroes and floating text above their heads(+200). The same for the third towers... Have you played dota moosenoir? If u have played you'll see if some of your allied units destroys a tower all allied heroes get +200 to their gold and have floating text above their heads... Can u help me
 
Level 11
Joined
Dec 11, 2007
Messages
888
  • Events:
    • A unit dies
  • Conditions:
    • Or:
      • Unit type of triggering unit equal to unit x
      • Unit type of triggering unit equal to unit y
  • Actions
    • Player - Add 200 to (Allies of Owner of (Killing unit)) Current gold
    • Pick every unit in (Allies of owner of killing unit matching (Matching unit is a Hero equal to true)) and do multiple actions:
      • Loop:
        • Floating Text - Create floating text that reads +200 gold above (Picked unit) with Z offset 7.00, using font size 9.00, color (20.00%, 100.00%, 20.00%), and 0.00% transparency
        • Floating Text - Set the velocity of (Last created floating text) to 90.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 2 seconds
        • Floating Text - Hide (Last created floating text) for (All players)
        • Floating Text - Show (Last created floating text) for (Player group((Owner of (Picked unit))))
this works. i hop you know how to remove leaks
 
Status
Not open for further replies.
Top