View Full Version : tokeninstance.addUnderlay API does not appear to be respecting 'gmonly' mode
Farratto
January 14th, 2025, 18:22
I am not sure when this started. I believe it worked before. But someone noticed that combat highlighter was highlighting tokens for all connected clients instead of only for the GM. After testing, it appears to be true.
It's using something like this:
tokeninstance.addUnderlay(nSize, "330000FF", "gmonly")
P.S. While you're at it, any chance we could get a third option for adding the underlay only on the client that calls the API so we can highlight tokens for a solitary client?
Moon Wizard
January 14th, 2025, 22:00
Thanks for reporting. I've escalated to Carl to review.
Regards,
JPG
pindercarl
January 15th, 2025, 11:57
I am not sure when this started. I believe it worked before. But someone noticed that combat highlighter was highlighting tokens for all connected clients instead of only for the GM. After testing, it appears to be true.
It's using something like this:
tokeninstance.addUnderlay(nSize, "330000FF", "gmonly")
P.S. While you're at it, any chance we could get a third option for adding the underlay only on the client that calls the API so we can highlight tokens for a solitary client?
Can you provide a simple extension that exhibits this behavior? The current reach GM only underlay (gmonly) does only draw on the GM side.
Farratto
January 15th, 2025, 13:45
Can you provide a simple extension that exhibits this behavior? The current reach GM only underlay (gmonly) does only draw on the GM side.
My apologies. I made a mistake in testing. You are right. This is working as expected. Thank you for your time.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.