#✅ | How to make a progress bar that indicates the duration of an Active Effect

1 messages · Page 1 of 1 (latest)

summer cedar
#

Self-explanatory I want to create a progress bar to indicate when's gonna end an especific effect

tall shoalBOT
# summer cedar Self-explanatory I want to create a progress bar to indicate when's gonna end an...

Yes — use the On Effect Gained / Lost listener system together with a variable, then drive a Progress Bar with that value.

But important: Spiffy/FancyMenu doesn’t have a placeholder for the remaining duration of an active effect in the HUD docs I have here, so you can’t directly bind the effect timer to a progress bar from just the built-in placeholders 😕
The effect listener only gives you:

  • $$effect_key
  • $$effect_type
  • $$effect_duration

That helps for reacting when the effect changes, but not for continuously reading the live remaining duration in a HUD bar.

What you can do instead

  • Show the effect icon / text when the effect is active using Is Effect Active
  • Use a Ticker + variables if you can source the remaining duration somehow from another mod / server-side setup
  • Otherwise, this specific “countdown until effect ends” bar is not directly supported by the docs I have

Relevant docs

If you want, I can help you build the best possible workaround for a specific effect, like speed / strength / poison.

#
Thread Marked as Solved

This support thread has been marked as solved by @summer cedar.

The AI helper is now disabled, but you can still continue the conversation if needed. Thank you for using our support system!