Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Handle player disconnection

$
0
0
Hi all,

I have a question about PlayerDisconnection. We need to destroy player character when player has been disconnected (dropped by TrueSync after PanicWindow).

When i received the event OnPlayerDisconnection ( int i_PlayerId ), can I destroy the object or it can generate a problem with rollback?

More simple, the question is: the OnPlayerDisconnection is called in the same safe frame on all clients?

If not, how can I handle this?

Thank you!  

Viewing all articles
Browse latest Browse all 15755

Trending Articles