gludington / conditional-visibility

a FoundryVTT module to hide tokens from some players, but not from others
4 stars 16 forks source link

Feature Request: Toggle 'Additional Senses' via script #45

Open ZacAtakke opened 3 years ago

ZacAtakke commented 3 years ago

It would be great to have the ability to toggle the 'additional senses' on a token's vision tab using a macro or script, in the same way you can toggle the token's visibility condition with this:

ConditionalVisibility.setCondition(tokens, condition, value)

tokens - an array of tokens to affect condition - the name of the condition, e.g. invisible or indarkness. You can check the available names for your system in the help() dialog. value true to turn the condition on, false to turn it off

but for the vision options: Blindsight, Devil's Sight, etc