Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: drakwon on July 04, 2018, 08:38:36 PM

Title: Photon Ownership Transfer
Post by: drakwon on July 04, 2018, 08:38:36 PM
Im unable to find this action, am I missing something?
Title: Re: Photon Ownership Transfer
Post by: jeanfabre on July 05, 2018, 02:10:09 AM
Hi,

 Its' called PhotonViewRequestOwnerShip

Do you have this one?

 Bye,

 Jean
Title: Re: Photon Ownership Transfer
Post by: drakwon 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
Title: Re: Photon Ownership Transfer
Post by: jeanfabre 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