playMaker

Author Topic: Pun2 - Photon View Set Owner Properties?[SOLVED]  (Read 270 times)

Infamous

  • Playmaker Newbie
  • *
  • Posts: 24
    • View Profile
Pun2 - Photon View Set Owner Properties?[SOLVED]
« on: October 07, 2019, 06:19:01 AM »
Hello there-

Thanks for all the help.

I have a question that I couldnt find a solution for?

I am creating a game where the Master controls the progression of most of the game.

I am trying to have the master set the values of a custom player property with no luck.

I was able to set and sync owner properties through "set player properties". However, it seems like this action only works on the owner.

What I'm looking for is something similar to "Photon View Get Owner Properties" action. That action you can specify which object's properties to get.

I'm looking for the "Set" equivalent to that action. Is there a way around this or is a new action needed?

Again, thanks for the help.

« Last Edit: October 08, 2019, 10:55:23 PM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15230
  • Official Playmaker Support
    • View Profile
Re: Pun2 - Photon View Set Owner Properties?
« Reply #1 on: October 08, 2019, 12:43:58 AM »
Hi,

 Good point, This action did not get the proper pun 2 treatment, please redownload and let me know how it goes. you can now select the player. however of course, you can only set other players when you are the masterclient.

 Bye,

 Jean

Infamous

  • Playmaker Newbie
  • *
  • Posts: 24
    • View Profile
Re: Pun2 - Photon View Set Owner Properties?
« Reply #2 on: October 08, 2019, 11:33:36 AM »
Amazing!

Thank you so much for the support and prompt update. Everything seems to be working perfectly. If anything changes I will update.

Thanks a lot.