Jump to content
Sign in to follow this  
Beny.cz

Displaying player's name in MP

Recommended Posts

Hey,

how to display player's name (nick) in MP?

For example, in CTF map, it shows who took the flag.

I would like to do the same but not in a CTF map.

Any ideas?

Thanks, Beny

Edited by Beny.cz

Share this post


Link to post
Share on other sites

titletext [format["i am the real %1", name player],"PLAIN"];

Share this post


Link to post
Share on other sites

It works, but the problem is that each player sees his own name.

What I need is that all players see the name of one player (for example a player, who activated a trigger).

Share this post


Link to post
Share on other sites

so you have to use proper unit instead of player. For example for player who activated a trigger it will be:

titletext [format["person who activated a trig is: %1", name ((list someTrigger) select 0)],"PLAIN"];

Share this post


Link to post
Share on other sites

titletext [format["person who activated a trig is: %1", name ((list someTrigger) select 0)],"PLAIN"];

How would you display that via a hint?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×