How to identify the used character from player?

0 votes
Hi All,

 

I am facing the following issue: In my game the player can choose one of three characters. How can I send that information to the other players so that they will see the proper prefab?
asked Apr 9, 2014 in App42 Cloud API-BaaS by v.muchinov (25 points)
edited Apr 10, 2014 by v.muchinov

1 Answer

0 votes
Forgot to mention that I am using Unity 3D
answered Apr 9, 2014 by v.muchinov (25 points)
reshown Apr 10, 2014 by v.muchinov
If they are in the same room, you can use the room properties for this. So after the players join, they can add a property to the room with their username as key and value being the character they have selected.
Thanks a lot for the answer!
Unfortunately I am a newbie in using AppWarp and I am not sure how this happens.

Can you please send me an example code how the user sends the info to the room and adds a property? Also I will appreciate if you share with a code how I am getting this value inside Unity.

Thanks in advance!
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...