Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Expose Functions to Retrieve the Status of Each Condition #36

Open
OmnesPotens opened this issue Dec 21, 2020 · 0 comments

Comments

@OmnesPotens
Copy link

OmnesPotens commented Dec 21, 2020

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, ...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant