playMaker

Author Topic: Photon rpc event to another scene  (Read 1736 times)

caesarhernandez

  • Playmaker Newbie
  • *
  • Posts: 30
Photon rpc event to another scene
« on: August 03, 2014, 10:47:16 AM »
Hello all,

I have a prefab called "foo" that has an FSM with one state and a global event attached called "DO_FOO".

I have scene_1 and scene_2.

In scene_2 I have instantiated the "foo" prefab and it's purpose is to receive and process an incoming photon RPC call ("DO_FOO").

In scene_1, I am making the actual "DO_FOO" RPC remote event call, specifying the "foo" prefab's fsm as the target GameObject (not an instantiated version because it is only instantiated in scene_2).

Now, should the RPC call work on the instantiated prefab in scene_2? It doesn't seem to be working. If this will not work, how do you solve this problem when you are trying to send an RPC call from one player's scene to another player's scene?

Thank you,
Caesar


caesarhernandez

  • Playmaker Newbie
  • *
  • Posts: 30
Re: Photon rpc event to another scene
« Reply #1 on: August 03, 2014, 12:15:35 PM »
Please disregard...I'm not even in a photon room so it will never work at this point.