Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: RC on July 24, 2019, 10:56:30 AM

Title: Photon RaiseEvent action
Post by: RC on July 24, 2019, 10:56:30 AM
Hi, I'm looking for Photon RaiseEvent, i feel like its there, but not im bot sure which one isit.

I'd like to use raiseevent instead of rpc.

Can someone point me to it? Thank you.
Title: Re: Photon RaiseEvent action
Post by: jeanfabre on July 25, 2019, 01:38:57 AM
Hi,

 I haven't ported the raiseevent yet, because it's an advanced feature, and the Port to PlayMaker was aimed at developers with very little experience on Unity/photon/PlayMaker so I took the path of embracing pun as is, which doesn't promote raisevent ( while raiseevent is used internally for everything of course).

 If you want to use RaiseEvent and none of Pun features, then you are better off using the realtime sdk (https://www.photonengine.com/en-US/sdks#realtime-sdkrealtimeunity).

Are you using pun classic or pun 2?

I'd like to finish porting pun 2 ( I need to do rooms list, friends list for example), and then I'll tackle raise event, ok?

Bye,

 Jean
Title: Re: Photon RaiseEvent action
Post by: RC on July 25, 2019, 11:38:23 AM
Sounds great, i was just curious because i read that is was better then sending lots of rpc  to sync lots of game object"zombies"

Title: Re: Photon RaiseEvent action
Post by: jeanfabre on July 26, 2019, 01:59:06 AM
Hi,

It depends how to send you rpc, because eventually, an RPC is using raiseEvent internally.

Bye,

 Jean