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]: ability to link bars to properties #4717

Open
bubblobill opened this issue Mar 11, 2024 · 2 comments
Open

[Feature]: ability to link bars to properties #4717

bubblobill opened this issue Mar 11, 2024 · 2 comments
Labels
feature Adding functionality that adds value

Comments

@bubblobill
Copy link
Collaborator

Describe the Problem

Without coding macros, bars do not update automatically to reflect changes in a property value.

The Solution you'd like

Add the ability in campaign properties to link one or more properties or values to a bar.
For example;

  • Health Bar:
    • Minimum Value: -10
    • Current Value: HP property
    • Maximum Value: HPMax property

Implement an event that monitors the assoicated properties for changes and updates the bars accordingly.

Alternatives that you've considered.

Relatively simple to implement with macros, but not as easy as it could be for new users.

Additional Context

No response

@bubblobill bubblobill added the feature Adding functionality that adds value label Mar 11, 2024
@taustinoc
Copy link

I would think it would be very little more work to have the minimum be a field that can be set (not all games use D&D's -10 value for a death threshold), and have the current value and max value set by a drop down of properties in the token's current property type.

@bubblobill
Copy link
Collaborator Author

I was trying to illustrate the value of having the option of a constant or a property as a settable source.
Depending on what options are available in the graphics widget, you could even have thresholds. In HTML you can have internal bounds like value < x = paint red, value > y = paint green. You could get quite carried away with the whole affair if you wanted to, events for value crossing a threshold, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
None yet
Development

No branches or pull requests

2 participants