playMaker

Author Topic: Photon RaiseEvent action  (Read 2621 times)

RC

  • Full Member
  • ***
  • Posts: 148
Photon RaiseEvent action
« 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon RaiseEvent action
« Reply #1 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.

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

RC

  • Full Member
  • ***
  • Posts: 148
Re: Photon RaiseEvent action
« Reply #2 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"


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Photon RaiseEvent action
« Reply #3 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