Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
omard2000

Photon Chat [Friendslist]

Question

Hey guys,

 

So I have a chat going now, but how do I limit the chat to a player's friends list. Lets say I have a list or a dictionary, how would I go about sending messages to only players someone's friends list.

 

Thanks :)

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

in the send message RPC add an if statement if so it only sends to people on his friends list.

  • Like 1

Share this post


Link to post
Share on other sites

  • 0

One more question, sorry to bother you.

 

In my friends chat I want players to be able to send chats to each other through the main menu, in other words, is it possible for players to send messages to each other when not in the same room/a room at all?

 

Thanks :)

Share this post


Link to post
Share on other sites
  • 0
Please login or register to see this quote.

I dont think photon allows communication outside of rooms. I'd have to see your chat script and friends

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...