playMaker

Author Topic: Photon - problems with RPC  (Read 932 times)

Nikishin38rus

  • Playmaker Newbie
  • *
  • Posts: 5
    • View Profile
Photon - problems with RPC
« on: August 23, 2013, 08:46:02 PM »
All the good time, please tell me how to cope with such a situation - call the function RPC (PhotonViewRpcBroadcastFsmEvent) and point it at that EVENT "GO" should work on this subject, but later it happens to all the sites where there is a event "GO"
p.s. простите за плохой Английский ;D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14014
  • Official Playmaker Support
    • View Profile
Re: Photon - problems with RPC
« Reply #1 on: August 24, 2013, 04:54:03 AM »
Priviet!

Yes, I have added this in the latest photon package. Now you can target just the same networkView. so only events on fsm sharing the same networkview will get targeted.

Use "PhotonViewRpcBroadcastFsmEventToPlayer"

 Bye,

Jean