• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Floating Damage texts - Limited for every player.

Status
Not open for further replies.

SpasMaster

Hosted Project: SC
Level 23
Joined
Jan 29, 2010
Messages
1,969
Hello fellow THW!

I've been using a damage detection system for a while and I need a little help here.

Here is the system --> Floating Text - Damage and Spells

It's awesome and I really like it, but there is only one thing. I have see it in other maps. Let's say we have 2 players. Player 1 - Red and Player 2 - Blue.
When player 2 hits a unit, it displays his damage. But it shows it to player 1 too. Would somebody tell me how to limit the damage showing only for the damaging player.

Like Player 1 must see only his damage.
Player 2 sees only his damage.
Etc, etc...

Thanks in advance! <3
 
Level 16
Joined
Aug 20, 2009
Messages
1,552
pick player group that you want eg. <owner of <Damage Source>>
next, floating text *HIDE* to <player group>

remove player group leak,
voila!

i cant do jass, cant edit that map,

but i can make one from scratch for you, if you wanted something diffrent than that. (with showing only to owner of damaging unit)
 
Status
Not open for further replies.
Top