PDA

View Full Version : token.setVisible per user



bmos
April 3rd, 2022, 15:48
I'm working on some token visibility stuff and it seems token.setVisible applies to all players.
Is there a way to set token visibility for a specific user? Obviously at a core level this is possible since LOS does this, but is it exposed via an API I can access?

Moon Wizard
April 3rd, 2022, 18:15
No, there are no APIs like that. LoS visibility is completely independent of global visibility, but they do interact to give final result. There is no mechanism in API (or internally in the client) to limit visibility by specific users.

Regards,
JPG