Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[API] Token Dynamic lightning documentation is not accurate?

1605857819

Edited 1605867176
I am having troubles with token-mod and dynamic light vision. According to  this support page  following code should enable vision for tokens !token-mod --on has_bright_light_vision  but it does not work as I am expecting it to.. current - token literaly has "bright" vision only no low light : also current - token literally - does not have bright vision - only low light:  expected:  expected is what I get when manualy turning on "has vision" in dynamic lightning tab of said Token I have tried multiple settings to "fix" this (workaround) but without much success - have tried stuff like has_low_light_vision, light_hasvision etc (what I found on internets) edit: also when I have vision "on" in dynamic lightning - and disable "has_bright_light_vision" I will still keep seeing that dimmed light.. Or does the problem exists between keyboard and chair? Thanks
1605860051

Edited 1605860105
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Just double-checking, since you don't have a Pro tag next to your name. Are you in a game created by a Pro user, and does it have the Token-mod script installed? That is an API command and will not work unless those conditions are true.
1605862063

Edited 1605862320
Yeah I am working on "dev" adventure where I am doing stuff for our GM (macros etc...)  so yeas its PRO Game (and since i have working api scripts )
1605879889
The Aaron
Roll20 Production Team
API Scripter
The API support for UDL is still... "emerging". I need to dig back through it and see what's still working or broken because it seems to have changed again since I last worked on that part of TokenMod.