websocket function options

Place for questions and answers for all newcomers and new coders. This is a free for all forum, no question is too stupid and to noob.
Post Reply
ShawnSwander
Posts: 53
Joined: Thu May 17, 2012 12:31 am

websocket function options

Post by ShawnSwander »

I have been scripting my combat for the game and I'm a little snagged on how to do something here.

So in the scanareo that 4 orcs attack player1 of 10 players is there a good way to filter which players recieve that data? I feel like my options are just 1 guy or all of them or all but the one the server is replying to.\

If player1 and 2 are hunting and a dragon hits player 1 I might want player2 to hear it and player 1 to loose hp but I dont want player 6 78 9 & 10 to be sent useless data when they are somewhere else. even if its discarded it seems inefficient.
Post Reply

Return to “Beginner Help and Support”