Hi
I'm pretty sure after searching on the forum that it's not possible to send messages only to certain players based on distance. You only have the option of all, others and specific variable.
This is bs, because if you have 100 players on a terrain and you only want to get messages from the ones that are 100 meters near you, you can't. You can try to work around it using grids, but that's bs too. Why? Because you could be 1 meter away from each other but on a different tile and you won't see each other until it steps into yours. Then you have to do all kind of fancy stuff to be able to trick the system and simulate a distance based messaging.
This on the server literally takes 1 second to implement. If x-player < distance from location, send message to this player.
So please, unless i'm mistaken and this is already possible on photon cloud, could you add it as an option when we send events?
I'm pretty sure after searching on the forum that it's not possible to send messages only to certain players based on distance. You only have the option of all, others and specific variable.
This is bs, because if you have 100 players on a terrain and you only want to get messages from the ones that are 100 meters near you, you can't. You can try to work around it using grids, but that's bs too. Why? Because you could be 1 meter away from each other but on a different tile and you won't see each other until it steps into yours. Then you have to do all kind of fancy stuff to be able to trick the system and simulate a distance based messaging.
This on the server literally takes 1 second to implement. If x-player < distance from location, send message to this player.
So please, unless i'm mistaken and this is already possible on photon cloud, could you add it as an option when we send events?