playMaker

Author Topic: Photon Ownership Transfer  (Read 2186 times)

drakwon

  • Playmaker Newbie
  • *
  • Posts: 34
Photon Ownership Transfer
« on: July 04, 2018, 08:38:36 PM »
Im unable to find this action, am I missing something?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Ownership Transfer
« Reply #1 on: July 05, 2018, 02:10:09 AM »
Hi,

 Its' called PhotonViewRequestOwnerShip

Do you have this one?

 Bye,

 Jean

drakwon

  • Playmaker Newbie
  • *
  • Posts: 34
Re: Photon Ownership Transfer
« Reply #2 on: July 05, 2018, 10:56:59 AM »
Ah, yes I do have that one, but im lost as how to get it to work properly. I am making a survival game and im trying to transfer the walls, foundations etc to transfer to the server when instantiated. Any help would be much appreciated
Thanks Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon Ownership Transfer
« Reply #3 on: July 30, 2018, 08:04:10 AM »
Hi,

 you first need to make sure your photonViews are setup to allow for ownership request, you need to dive into Photon docs I am afraid :)

https://doc.photonengine.com/en-us/pun/current/demos-and-tutorials/package-demos/ownership-transfer

ignore the code, check out the settings option for PhotonView Ownership Setting

Let me know how it goes,

 Bye,

 Jean