
Show States Fade Animation
kientran opened this issue ยท 2 comments
Is your feature request related to a problem? Please describe.
When using Show State conditions to show/hide bars, the bars change visibility instantly.
Describe the solution you'd like
I would like the existing visibility animation options to apply to show-state visibility or separate options for it specifically.
Describe alternatives you've considered
Current fade animation options only apply to mouseover events.
Additional context
This is a UI polish. I hide a lot of bars to keep UI clean. Currently, I use the show states to hide my bars in cities and show when out in the world/instance. When transitioning, I'd like it to be more smooth vs jarring.
Try using explict opacity values, like 100 for 100% and 0 for 0%. Those should take into account the fading settings.
Yes, using 0+100 solves it.
For ref here's my string now
[combat]100;[@target,exists,harm]100;[resting][flying]0;100
Note you have to use 0 and 100 for it to work as expected. If you use hide/show
combined with % seems like it jumps to 100% then animates to it. (tested using long animations and 50% as target). It's not super consistent when testing and prob not worth trying to understand the root cause. Recommendation is to just not mix between 'hide/show' and %.
One unexpected behavior. When setting delays "fade-in delay' doesn't seem to apply. Don't intend on using this property anyway. "Fade-out delay" works as expected.