PlayerSpectatePlayer
#1

It seems like doesn't work properly when you're trying to spectate a player from a different virtual world. Probably because OnPlayerFinishedDownloading is called in-between. It works fine when there is no virtual world change.

Does anyone know a smooth workaround for this issue?
Reply
#2

You must call PlayerSpectatePlayer again in OnPlayerFinishedDownloading. Save which player the spectator is spectating and then just reapply that in the callback.
Reply
#3

Quote:
Originally Posted by Rektumiliam
View Post
Wont it work if you get the players (who you want to spectate) Virtual World, and on /spec you set your Virtual World to his?
It won't.

Quote:
Originally Posted by NaS
View Post
You must call PlayerSpectatePlayer again in OnPlayerFinishedDownloading. Save which player the spectator is spectating and then just reapply that in the callback.
I think I tried that already because it seemed a logical solution, but unfortunately it didn't work. I'll try that again, perhaps I've miscoded something.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)