Hi there! I need help with making the floating text only visible for 1 player. I searched through the forum, but couldn't find any answers.
And the text must be visible only to owner of killing units custom unit value (player number)
And the text must be visible only to owner of killing units custom unit value (player number)
- Set TempPoint1 = (Position of (Triggering unit))
- Player - Add ((Point-value of (Triggering unit)) / 2) to (Player((Custom value of (Killing unit)))) Current gold
- Floating Text - Create floating text that reads (|cffFFFF00 + (String(((Point-value of (Triggering unit)) / 2)))) at TempPoint1 with Z offset 16.00, using font size 10.00, color (100.00%, 81.00%, 0.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 fading age of (Last created floating text) to 0.50 seconds
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Custom script: call RemoveLocation (udg_TempPoint1)