#✅ | Continuing

1 messages · Page 1 of 1 (latest)

young zodiacBOT
#

Here’s everything you can copy/paste:

Step 1 – First IF requirement (damage detection)
Requirement: Is Number

  • Comparison mode: smaller-than
  • Number: {"placeholder":"current_player_health_percent"}
  • Compare with: {"placeholder":"getvariable","values":{"name":"prev_health_percent"}}

Inside that IF keep the actions you already have:

health_flash_timer:10
health_flash_alpha:1

Step 2 – Second IF requirement (reset prev value)
Requirement: Is Number

  • Comparison mode: equals
  • Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}
  • Compare with: 0

Inside that IF set this action:

prev_health_percent:{"placeholder":"current_player_health_percent"}

Step 3 – Always-running actions (no IF)
Add these two actions after the IF blocks:

health_flash_timer:{"placeholder":"maxnum","values":{"first":"0","second":"{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} - 1"}}"}}
health_flash_alpha:{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} / 10"}}

Optional debug text element:

{"placeholder":"getvariable","values":{"name":"health_flash_timer"}}

Let me know if you want me to wrap these into a full action script snippet.

brave dock
#

wrap these into a full action script snippit please

young zodiacBOT
# brave dock wrap these into a full action script snippit please

Sure! Here’s the full action script snippet you can paste into your button/ticker action script (replace placeholder actions with yours if needed):

▶ IF (Is Number: {"placeholder":"current_player_health_percent"} < {"placeholder":"getvariable","values":{"name":"prev_health_percent"}})
  └─ Set Variable Value: health_flash_timer:10
  └─ Set Variable Value: health_flash_alpha:1

▶ IF (Is Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}} = 0)
  └─ Set Variable Value: prev_health_percent:{"placeholder":"current_player_health_percent"}

▶ Set Variable Value: health_flash_timer:{"placeholder":"maxnum","values":{"first":"0","second":"{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} - 1"}}"}}
▶ Set Variable Value: health_flash_alpha:{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} / 10"}}

Make sure the two IF blocks have the described requirements before you insert the actions. If you need help editing the script UI, the FancyMenu Action Scripts guide has the exact steps.

brave dock
#

the health flash timer still wont change from 0

young zodiacBOT
# brave dock the health flash timer still wont change from 0

Hmm, if the timer still stays at 0, I need a bit more info to help:

  1. Which element is running that action script? (Ticker/button/etc.)
  2. Is the action script set to run every tick (e.g., ticker with “tick” mode) so the countdown can execute?
  3. Are the variables health_flash_timer and prev_health_percent defined beforehand? If not, getvariable returns empty and comparisons fail.
  4. Do the IF requirements exactly match the snippet you pasted earlier (especially the placeholder nesting)?

If you can send screenshots of the action script or tell me the exact element type and timing settings, I can pinpoint what’s still missing.

brave dock
#

the ticker works now but i want the damage health bar to fade into the current health after a few moments like in Minecraft Dungeons

young zodiacBOT
# brave dock the ticker works now but i want the damage health bar to fade into the current h...

Nice! Since the ticker’s now running, here’s how to get that “Minecraft Dungeons” style fade from the damage bar into the current health:

  1. Keep the damage bar value at the old health

    • Instead of driving the overlay from current_player_health_percent, point its Progress Value to your prev_health_percent variable:
      {"placeholder":"getvariable","values":{"name":"prev_health_percent"}}
    • That way the overlay always shows the “old” health, and you’re visualizing the difference between current vs. previous health.
  2. Hide the overlay once the fade is done

    • Add a loading requirement on the overlay element:
      Is Number
      Comparison: greater-than
      Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}
      Compare with: 0
      
    • This ensures the damage overlay only shows while the timer is counting down.
  3. Fade the overlay by controlling opacity

    • In the element’s Opacity (or “Alpha”) field, insert:
      {"placeholder":"getvariable","values":{"name":"health_flash_alpha"}}
    • That variable is already part of your ticker script, so as the timer decreases from 10 → 0 the overlay slowly becomes transparent.
  4. Optional polish

    • You can also animate the overlay position/size if you want a “pulse”.
    • Use the same timer variable in other element settings via placeholders (e.g., add tiny offset while health_flash_timer > 0).

That gives you a smooth transition: when damage hits, the overlay pops up at full alpha (old health), stays visible while the timer counts down, then fades away and lets the current health bar show through. If you need help wiring the element’s settings, the fancy Action Scripts docs have reference info: How to edit Action Scripts.

brave dock
#

how do i animate the overlay so it moves down into the current health?

young zodiacBOT
# brave dock how do i animate the overlay so it moves down into the current health?

To push the damage overlay downward (so it “falls” into the true health bar), drive its advanced Y offset with the timer placeholder you already have.

Steps

  1. Anchor the overlay (Image/Progress Bar) so it sits directly on top of the real health bar.
  2. Enable Advanced Positioning: right-click the overlay → Advanced Positioning → Y Offset.
  3. Set the Y offset to a placeholder that grows as the timer counts down. For example:
    {
      "placeholder": "calc",
      "values": {
        "decimal": "true",
        "expression": "(10 - {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}) * 2"
      }
    }
    
    This moves the overlay down up to 20 pixels over the 10 tick fade. Adjust the multiplier (* 2) if you need a bigger/smoother drop.
  4. Keep your existing opacity expression so the overlay fades as it moves.
  5. (Optional) Add another placeholder-based offset to the X value if you want diagonal movement.

This uses FancyMenu’s Advanced Positioning & Sizing system, so you can continuously animate the overlay just by changing variables.

brave dock
#

now the damage overlay stays until player health is 100 percent, can i change that so it diseappears after a few seconds after damage?

young zodiacBOT
# brave dock now the damage overlay stays until player health is 100 percent, can i change th...

Yep! Just gate the overlay with the timer so it only stays visible while health_flash_timer is still counting down.

  1. Right-click the damage overlay element → Loading Requirements → add Is Number.
  2. Set it to:
    • Comparison mode: greater-than
    • Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}
    • Compare with: 0

Now the overlay will auto-hide once the timer reaches zero, even if your actual health is still low. Make sure your ticker keeps decrementing the timer every tick (and resetting it to 10 when damage happens) so the overlay only lingers for those few seconds.

brave dock
#

how do i make sure the ticker keeps decrementing the timer every tick? show me in the action script

young zodiacBOT
# brave dock how do i make sure the ticker keeps decrementing the timer every tick? show me i...

Make sure your Ticker is running every tick (tick mode = “In Menu Tick” / “Normal” with low delay). Then set its action script like this so the timer always counts down:

▶ IF (Is Number: {"placeholder":"current_player_health_percent"} < {"placeholder":"getvariable","values":{"name":"prev_health_percent"}})
  └─ Set Variable Value: health_flash_timer:10
  └─ Set Variable Value: health_flash_alpha:1

▶ IF (Is Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}} = 0)
  └─ Set Variable Value: prev_health_percent:{"placeholder":"current_player_health_percent"}

▶ Set Variable Value: health_flash_timer:{"placeholder":"maxnum","values":{"first":"0","second":"{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} - 1"}}"}}
▶ Set Variable Value: health_flash_alpha:{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} / 10"}}

The last two actions have no requirements, so they run on every tick and reduce the timer by 1 each pass (capped at 0 via maxnum). Ensure the Ticker’s tick delay is low enough (e.g., 50 ms) so the countdown finishes in a few seconds.

brave dock
#

The timer pauses until ive reached 100 percent health

young zodiacBOT
# brave dock The timer pauses until ive reached 100 percent health

The timer was “stuck” because the first IF kept re-triggering every tick while your health stayed below prev_health_percent. Since prev_health_percent isn’t refreshed until the timer hits zero, that condition remains true and the IF constantly resets health_flash_timer back to 10—so the countdown never runs until you heal back to 100%.

Fix: add a second requirement to that first IF so it only fires when the timer is not already running.

  • Add Requirement 2:
    Is Number
    Comparison mode: equals
    Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}
    Compare with: 0
    

This makes the IF trigger only once per hit (when health_flash_timer is still 0), so the countdown can actually tick down after that.

The rest of your script stays the same—make sure the two “always run” actions still exist without requirements so health_flash_timer decays each tick, and keep the second IF that copies the current health into prev_health_percent once the timer hits zero.

If you need a refresher on editing action scripts with multiple requirements, check the FancyMenu Action Scripts guide.

brave dock
#

now the overlay with this script:

{
"placeholder": "calc",
"values": {
"decimal": "true",
"expression": "(10 - {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}) * 2"
}
}

stays stuck in the center of the screen, how do i reposition it with my health bar?

young zodiacBOT
# brave dock now the overlay with this script: { "placeholder": "calc", "values": { ...

The overlay stays centered because it still uses the default screen anchor. To fix it, do this:

  1. Anchor it near your health bar:

    • In the editor, drag the overlay so it’s sitting on top of your health bar (you may need to disable “Stay on Screen”).
    • While dragging, hover over the health bar (or whichever anchor point you want) until the anchor changes to that element’s anchor. Release to snap the overlay to the same anchor.
  2. Use advanced offsets to “drop” it over the real bar:

    • Right-click the overlay → Advanced Positioning → Y Offset and paste your expression (or a variation) so it moves relative to the bar’s anchor. You already have (10 - timer) * 2, so keep that but make sure the base position matches the health bar.
    • If needed, use Advanced Positioning → X Offset to align horizontally, or manually tweak the normal X/Y as long as the anchor is correct.
  3. Double-check it’s not still anchored to the screen center:

    • Right-click the overlay → Anchor Point and ensure it says the same anchor your health bar uses (e.g., “Bottom-Left Corner” or the health bar element itself).

That keeps the overlay tied to the actual health bar instead of the screen center while still allowing your placeholder-driven animation. If you want the overlay to follow a different part of the bar, you can fine‑tune the normal X/Y offsets once the anchor is correct. For more on those placeholders-in-offsets tricks, see the Advanced Positioning & Sizing guide.

brave dock
#

there is no Y offset option so the expression keeps snapping the overlay to the center of the screen

young zodiacBOT
# brave dock there is no Y offset option so the expression keeps snapping the overlay to the ...

If the Y offset always snaps the overlay to screen center, it means the element is still anchored to the center (default anchor). You can fix it like this:

  1. Give it the correct anchor

    • Drag the overlay so it sits over your health bar. While dragging, hover over the health bar (or the bar’s anchor point such as “Bottom-Left Corner”) until the highlight shows that anchor, then release. That tells FancyMenu to calculate position relative to the bar instead of the screen center.
    • Alternatively, right-click the overlay → Anchor Point and pick the same anchor the health bar uses.
  2. Enable Advanced Positioning on Y (and X if needed)

    • Right-click the overlay → Advanced Positioning → Y (or “Y Offset”) and paste your placeholder expression there. Now the placeholder will adjust the position relative to the chosen anchor instead of resetting to the center.
    • If you don’t see “Y Offset,” make sure you’ve enabled advanced positioning by right-clicking → Advanced Positioning → Enable; once enabled the offset inputs appear.
  3. Keep the animation expression but relative to the anchor

    {"placeholder":"calc","values":{"decimal":"true","expression":"(10 - {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}) * 2"}}
    

    With the anchor fixed, that expression will now nudge the overlay downward from the bar’s position instead of jumping to the screen center.

If the overlay still “snaps,” double-check that the anchor change actually stuck and that you’re editing the advanced offset for the same axis. The Advanced Positioning & Sizing guide explains how those fields interact with anchors in more detail.

brave dock
#

can you give me an updated expression for that overlay animation that fits with advanced positioning Y

young zodiacBOT
# brave dock can you give me an updated expression for that overlay animation that fits with ...

Here’s one that keeps the overlay anchored to your bar while smoothly sliding downward only for the duration of the flash:

{
  "placeholder": "calc",
  "values": {
    "decimal": "true",
    "expression": "({"placeholder":"maxnum","values":{"first":"0","second":"10 - {\"placeholder\":\"getvariable\",\"values\":{\"name\":\"health_flash_timer\"}}"}}) * 1.8"
  }
}
  • maxnum(0, 10 − timer) ensures the offset never goes below 0 when the timer hits zero.
  • Multiply by 1.8 (or another value) to control how much the overlay drops; increase for a bigger “fall,” decrease for a subtle shift.
  • Paste this into the Advanced Positioning → Y field so it nudges the overlay down from wherever it’s anchored.
brave dock
#

how can i increase the health_flash_timer count?

young zodiacBOT
# brave dock how can i increase the health_flash_timer count?

You can make the timer last longer by starting it at a higher value. In the action script, replace the hardcoded 10 with your desired duration (e.g. 20), or even better:

  1. Create a new variable like health_flash_duration and set it to the number of ticks you want the flash to last (e.g. 20).
  2. In the damage IF, set the timer with that variable:
    health_flash_timer:{"placeholder":"getvariable","values":{"name":"health_flash_duration"}}
    
  3. In the countdown action, subtract 1 as before — it already works for any starting value.
  4. Update any expressions that reference “10” (like your offset or alpha calc) to use health_flash_duration instead:
    {"placeholder":"calc","values":{"decimal":"true","expression":"({"placeholder":"maxnum","values":{"first":"0","second":{"placeholder":"getvariable","values":{"name":"health_flash_duration"}} - {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}}}) * 1.8"}}
    

That way you can tweak the duration just by changing health_flash_duration without editing the whole script. If you want docs on placeholders or action scripts, the Action Scripts guide has the full syntax: FancyMenu Action Scripts.

brave dock
#

can you send me an updated version of the action script with the health_flash_duration changes?

young zodiacBOT
# brave dock can you send me an updated version of the action script with the health_flash_du...

Here’s the updated action script that uses health_flash_duration so you can adjust the timer in one place:

▶ IF (Is Number: {"placeholder":"current_player_health_percent"} < {"placeholder":"getvariable","values":{"name":"prev_health_percent"}} AND Is Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}} = 0)
  └─ Set Variable Value: health_flash_timer:{"placeholder":"getvariable","values":{"name":"health_flash_duration"}}
  └─ Set Variable Value: health_flash_alpha:1

▶ IF (Is Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}} = 0)
  └─ Set Variable Value: prev_health_percent:{"placeholder":"current_player_health_percent"}

▶ Set Variable Value: health_flash_timer:{"placeholder":"maxnum","values":{"first":"0","second":"{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} - 1"}}"}}
▶ Set Variable Value: health_flash_alpha:{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} / {"placeholder":"getvariable","values":{"name":"health_flash_duration"}}"}}
  • Make sure health_flash_duration is a variable you create (e.g., set it to 20 for twice the duration).
  • Update your opacity/offset expressions to use the duration variable instead of the hardcoded 10, for example:
    ({"placeholder":"maxnum","values":{"first":"0","second":{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_duration"}} - {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}"}}}}) * 1.8
    – paste that into the Advanced Positioning → Y field so the overlay still drops while fading.

If you need a refresher on structuring action scripts or nesting placeholders, the FancyMenu action script docs are the best reference: FancyMenu Action Scripts.

brave dock
#

can you give me new expressions to update for opacity and advanced positioning Y?

young zodiacBOT
# brave dock can you give me new expressions to update for opacity and advanced positioning Y...

Here are the updated expressions using health_flash_duration so they stay in sync no matter how long the timer runs:

Opacity (alpha)

{
  "placeholder": "calc",
  "values": {
    "decimal": "true",
    "expression": "{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} / {"placeholder":"getvariable","values":{"name":"health_flash_duration"}}"
  }
}

This makes the overlay fade out proportionally to how much time is left.

Advanced Positioning → Y

{
  "placeholder": "calc",
  "values": {
    "decimal": "true",
    "expression": "({"placeholder":"maxnum","values":{"first":"0","second":{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_duration"}} - {"placeholder":"getvariable","values":{"name":"health_flash_timer"}}"}}}}) * 1.8"
  }
}

It only moves down while the timer is running (maxnum keeps it at 0 afterward) and the * 1.8 lets you tweak how far it drops.

If you need to tweak the distance or fade curve, just adjust the multiplier or add more math inside the expressions. The Advanced Positioning & Sizing guide explains how placeholders interact with offsets if you want to push it further.

brave dock
#

can you make an expression that allows the advanced positioning Y to move down after the timer is up?

young zodiacBOT
# brave dock can you make an expression that allows the advanced positioning Y to move down a...

To make the overlay start moving after the timer reaches zero, you need to track a short “post-flash” counter and feed that into the advanced Y offset. Here’s how:

1. Add a post-flash counter in your ticker

After the countdown actions, append this block:

▶ IF (Is Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}} = 0)
  └─ Set Variable Value: health_flash_post_timer:{"placeholder":"minnum","values":{"first":"5","second":"{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_post_timer"}} + 1"}}"}}
▶ ELSE
  └─ Set Variable Value: health_flash_post_timer:0

That ramps health_flash_post_timer from 0 to 5 ticks once the flash timer has finished, then resets it while the flash is active.

2. Use this new variable in Advanced Positioning → Y

Paste this expression into the advanced Y field:

{
  "placeholder": "maxnum",
  "values": {
    "first": "0",
    "second": {
      "placeholder": "calc",
      "values": {
        "decimal": "true",
        "expression": "{"placeholder":"getvariable","values":{"name":"health_flash_post_timer"}} * 2"
      }
    }
  }
}

This moves the overlay down by up to 10 pixels (5 × 2) only while health_flash_post_timer is positive (i.e., after the initial flash). You can tweak the multiplier (* 2) or the minnum cap (the first/second pair inside minnum) to control how far and how long it keeps dropping.

If you need a refresher on using placeholders inside advanced positioning, the Advanced Positioning & Sizing guide walks through the layout.

brave dock
#

do i need to create a new variable for health_flash_post_timer?

young zodiacBOT
# brave dock do i need to create a new variable for health_flash_post_timer?

Yes, you’ll need to create health_flash_post_timer just like the other FancyMenu variables. Go to Customization → Variables → Manage Variables, add a new variable with that name, and give it a default of 0. Then the ticker can update it every tick like I outlined earlier.

If you want a refresher on working with variables, the Variables guide walks through creating them and using them in action scripts.

brave dock
#

can you add the new additions into our existing action script?

young zodiacBOT
# brave dock can you add the new additions into our existing action script?

Here’s the updated ticker action script with the health_flash_duration and health_flash_post_timer logic built in:

▶ IF (Is Number: {"placeholder":"current_player_health_percent"} < {"placeholder":"getvariable","values":{"name":"prev_health_percent"}} AND Is Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}} = 0)
  └─ Set Variable Value: health_flash_timer:{"placeholder":"getvariable","values":{"name":"health_flash_duration"}}
  └─ Set Variable Value: health_flash_alpha:1

▶ IF (Is Number: {"placeholder":"getvariable","values":{"name":"health_flash_timer"}} = 0)
  └─ Set Variable Value: prev_health_percent:{"placeholder":"current_player_health_percent"}
  └─ Set Variable Value: health_flash_post_timer:{"placeholder":"minnum","values":{"first":"5","second":"{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_post_timer"}} + 1"}}"}}
▶ ELSE
  └─ Set Variable Value: health_flash_post_timer:0

▶ Set Variable Value: health_flash_timer:{"placeholder":"maxnum","values":{"first":"0","second":"{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} - 1"}}"}}
▶ Set Variable Value: health_flash_alpha:{"placeholder":"calc","values":{"decimal":"true","expression":"{"placeholder":"getvariable","values":{"name":"health_flash_timer"}} / {"placeholder":"getvariable","values":{"name":"health_flash_duration"}}"}}
  • health_flash_post_timer needs to be a FancyMenu variable (default 0).
  • The post timer ramps from 0 to 5 after the flash runs, giving you a window to animate the overlay “drop” with the new Y offset expression.
  • Everything else (damage detection, countdown, opacity) works exactly like before but is now tied to your adjustable health_flash_duration.

Let me know if you’d like me to build the expression that turns health_flash_post_timer into the downward motion again.

brave dock
#

please build the experssion into the downward motion again

young zodiacBOT
# brave dock please build the experssion into the downward motion again

Here’s the advanced Y expression that makes the overlay drop after the flash timer finishes, using the health_flash_post_timer counter:

{
  "placeholder": "calc",
  "values": {
    "decimal": "true",
    "expression": "({"placeholder":"maxnum","values":{"first":"0","second":{"placeholder":"getvariable","values":{"name":"health_flash_post_timer"}}}}) * 2"
  }
}
  • This keeps the offset at 0 while the flash timer is running.
  • Once health_flash_post_timer ramps up (after the flash), it multiplies by 2 to slide the overlay down by up to 10 pixels.
  • Paste it into Advanced Positioning → Y so the element shifts downward relative to its anchor after the highlight fades.

You can adjust the multiplier (* 2) or cap by wrapping the maxnum inside another placeholder if you want it to stop earlier/sooner, but this version gives a simple post-flash drop.

brave dock
#

can you build me a new opacity expression that only fades the overlay after it moves down?

young zodiacBOT
# brave dock can you build me a new opacity expression that only fades the overlay after it m...

Sure! Here's an opacity expression that keeps the overlay fully opaque while the flash timer runs, then fades it out as the health_flash_post_timer counts up:

{
  "placeholder": "calc",
  "values": {
    "decimal": "true",
    "expression": "{"placeholder":"maxnum","values":{"first":"0","second":"1 - ({"placeholder":"getvariable","values":{"name":"health_flash_post_timer"}} / 5)"}}}"
  }
}
  • It stays at 1 during the initial damage flash (when health_flash_post_timer is 0).
  • Once the post timer starts ticking, it subtracts (post_timer / 5) from 1, clamped at 0, so you get a smooth fade that matches the downward motion.
  • Replace the 5 with your desired post-flash duration or another variable if you need different timing.

This goes into the overlay’s Opacity field while the previous post-flash Y expression handles the drop.

brave dock
#

now the overlay has dissappeared

young zodiacBOT
# brave dock now the overlay has dissappeared

It probably disappeared because the new opacity expression immediately evaluates to 0 once health_flash_post_timer is still zero when the timer finishes, so the overlay is hidden before it can drop.

Let’s double-check a few things:

  1. Is the overlay’s loading requirement still “health_flash_timer greater than 0”? That would hide it once the timer hits zero, so it never shows during the post-drop. If you want it visible while health_flash_post_timer runs, change that requirement to check for health_flash_post_timer > 0 (or remove it entirely and just rely on opacity to hide it).
  2. Confirm health_flash_post_timer actually increments after the flash—add a temporary Text element showing {"placeholder":"getvariable","values":{"name":"health_flash_post_timer"}} to see if it goes from 0 to 5.
  3. If you still want a fade after the drop, try this opacity expression instead (it stays at 1 while the post-timer is 0, then fades over the next 5 ticks):
{
  "placeholder": "calc",
  "values": {
    "decimal": "true",
    "expression": "max(0, 1 - ({"placeholder":"getvariable","values":{"name":"health_flash_post_timer"}} / 5))"
  }
}

Make sure the max(...) is the modern placeholder version (use the maxnum placeholder if needed). If you want me to format it exactly for FancyMenu (with maxnum), I can redo it.

brave dock
#

now the overlay flashes too quickly

young zodiacBOT
#
Thread Message Limit Reached

This support thread has reached the maximum limit of 40 messages. To continue getting support, please start a new thread by asking your question in the #spiffy-help channel.

Creating a new thread will help keep conversations organized and ensure you get the best support possible.

young zodiacBOT
#

✅ | Continuing