As the title states, it would be nice to be able to retrieve the Conditional Visibility Conditions that are set on each selected token for macro usage. Preferably there would be a function to retrieve the state of each Condition as well as a function that returns an array of all Conditions and their state.
As the title states, it would be nice to be able to retrieve the Conditional Visibility Conditions that are set on each selected token for macro usage. Preferably there would be a function to retrieve the state of each Condition as well as a function that returns an array of all Conditions and their state.
For example: ConditionalVisibility.isInvisible(canvas.tokens.controlled) -> true | false ConditionalVisibility.getVisibility(canvas.tokens.controlled) -> ['invisible': true, ..., 'devilssight': true, ...]