OnPlayerStreamOut
#1

OnPlayerStreamOut gets called when you disconnect? is it called when you starts to spectate someone?
Reply
#2

I think it gets called when you're not near the player or so. I've opened npctest.pwn to look at the code, so the bot every some seconds gets your position, and checks if you're streamed in:
PHP код:
format(msg,256,"I have %d connected players with %d streamed in",num_connected,num_streamed_in);
    
SendChat(msg); 
When i was away from the bot, it returned "I have 1 connected players with 0 streamed in"
Reply
#3

Streamed in basically means the server is transmissing information and coordinates to the client whereas /this/ subject is in the streamdistance to be shown.

So, when player A moves close to player B (approx' 100 units), then they stream in for eachother in order to be able to visually see eachother character.

When player A moves away from player B, they no longer will have a stream distance together.
This is why you can't stand on the star tower and snipe people at for i.e. Ocean Docks.
Reply
#4

I know that I think you guys misunderstood my question.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)