it seems to be easy, you can just add a boolean variable in the player characters, call it "ShowNameText". Then just put in a condition "for each characters" when "ShowNameText" variable is true, then "trigger once" create yourself a text at position (x, y +20) of character with the active variable.
for place the text to stay following use a pin behavior, or create another condition with lerp :3