I just copy this trigger from one map. i forgot the site where i downloaded, but i do have one problem, when i try to make this work like every unit has the players name. it doesn't work. the one made it gave up because he can't fix it.
-
Floating Text
-

Events
-


Time - Every 0.03 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer A) from 1 to 10, do (Actions)
-



Loop - Actions
-




Floating Text - Destroy text_player[(Integer A)]
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-





Then - Actions
-






Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-







Loop - Actions
-








Set text_point[1] = (Position of (Picked unit))
-
-
-






Set text_point[2] = (text_point[1] offset by 50.00 towards 180.00 degrees)
-






Floating Text - Create floating text that reads (Name of (Player((Integer A)))) at text_point[2] with Z offset 100.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-






Set text_player[(Integer A)] = (Last created floating text)
-






Custom script: call RemoveLocation(udg_text_point[1])
-






Custom script: call RemoveLocation(udg_text_point[2])
-
-





Else - Actions
-
-
-
-
-










