playMaker

Author Topic: Photon quit manager  (Read 2181 times)

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
Photon quit manager
« on: February 18, 2014, 04:16:46 AM »
Just noticed something in the Photon demo.

Is the Quit manager working?

I notice that when you use the quit button, although THAT client reloads, the other running clients do not, so the quitting players remain in the other clients scenes.

I kind of assumed this was handled by Photon Left room which is fired ok on the client... Surely this needs to remove that player from running clients too right? I will also need to remove the correct player here...

Haven't done it yet, but my plan is to set a player pref early in the process of instantiating, and use this to, 1) add the correct player model, in the correct scene, at the correct location, AND remove that player (and delete player prefs to make that character available again) on quit.

M


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Photon quit manager
« Reply #1 on: February 24, 2014, 07:53:10 AM »
Hi,

 Well spotted! I did not see this last time I tested... Nothing bad, it's just me who forgot to enable back the action "load level num" in gameobject "Game", Fsm "Quit Manager".

 It's fixed locally, the next update will have this enabled back.

Sorry for the trouble :)

bye,

 Jean