When a player leaves a multiplayer room, how can i destroy their instances on the host pc?
I cant get it done.
Hope u have the answer!
Develop games in your browser. Powerful, performant & highly capable.
If the objects are sync, the host will destroy their instance automatically. Unless objects that you created is not sync, you would have to create events to destroy them manually in the host.
I found that the multiplayer object uses 2 (Disconnect) actions.
1 for room and 1 for signalling.
I used the wrong one.
should have used the room (Disconnect)
Now its working.