DrinkSlurm
Eat Bachelor Chow!
- Reaction score
- 50
Is it possible to show Floating Text only for a certain player?
temp
Events
Unit - A unit owned by Player 10 (Light Blue) Dies
Conditions
(Owner of (Killing unit)) Not equal to Player 9 (Gray)
Actions
Floating Text - Create floating text that reads ((P + (String((Player number of (Owner of (Killing unit)))))) + (String((Point-value of (Dying unit))))) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards (((Real((Random integer number between 0 and 1))) x 90.00) + 45.00) degrees
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
[COLOR="Red"] Floating Text - Hide (Last created floating text) for (All players)
Set tempForce = (All players matching ((Matching player) Equal to (Owner of (Killing unit))))
Floating Text - Show (Last created floating text) for tempForce
Custom script: call DestroyForce (udg_tempForce)[/COLOR]