Create floating text like normal.
Hide the floating text to all player.
The show the floating text to only your desired player.
Example:
- Floating text - Create....
- Floating text - Hide (last created floating text) to (All players)
- Floating text - Show (last created floating text) to (All players matching (Triggering unit) belongs to an Ally to (Matching Player))